Mercurial > repo
annotate bin/unh @ 6628:8fa17e1ae537
<izabera> ` printf \'FNR == 1{ for (i = max; i >= 1; i--) print a[i] } { a[max=FNR] = $0 } END { for (i = max; i >= 1; i--) print a[i] }\' > bin/tac; chmod +x bin/tac
author | HackBot |
---|---|
date | Sat, 30 Jan 2016 21:25:52 +0000 |
parents | eee02eb985e4 |
children |
rev | line source |
---|---|
1803
eee02eb985e4
<fizzie> printf \'%s\\n\' \'#!/usr/bin/perl -p\' \'s/([aeiouy])h([bcdfghjklmnpqrstvxz])/$1$2/ig\' > bin/unh; chmod +x bin/unh # I\'m sure we need all these
HackBot
parents:
diff
changeset
|
1 #!/usr/bin/perl -p |
eee02eb985e4
<fizzie> printf \'%s\\n\' \'#!/usr/bin/perl -p\' \'s/([aeiouy])h([bcdfghjklmnpqrstvxz])/$1$2/ig\' > bin/unh; chmod +x bin/unh # I\'m sure we need all these
HackBot
parents:
diff
changeset
|
2 s/([aeiouy])h([bcdfghjklmnpqrstvxz])/$1$2/ig |