Mercurial > repo
annotate bin/cats @ 7759:b4341511eb47
<fizzie> ` echo -e \'#! /bin/bash\\ncmd="$1"\\nshift\\nf="$*"\\nif [ -z "$f" && "$f" == *\\\\ * ]; then f="${cmd#* }"; cmd="${cmd%% *}"; fi\\nif [ -z "$f" ]; then echo try: \\\\`f command filename; else "$cmd" "$(< "$f")"; fi\' > bin/f
author | HackBot |
---|---|
date | Wed, 04 May 2016 21:35:48 +0000 |
parents | d648a4814871 |
children |
rev | line source |
---|---|
3331
d648a4814871
<monotone> (echo \'#!/usr/bin/tail -1\'; echo \'meow meow meow meow\') > bin/cats && chmod +x bin/cats
HackBot
parents:
diff
changeset
|
1 #!/usr/bin/tail -1 |
d648a4814871
<monotone> (echo \'#!/usr/bin/tail -1\'; echo \'meow meow meow meow\') > bin/cats && chmod +x bin/cats
HackBot
parents:
diff
changeset
|
2 meow meow meow meow |