Mercurial > repo
annotate bin/good @ 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 | d70bce9e2e65 |
children |
rev | line source |
---|---|
6284
d70bce9e2e65
<tswett> echo \'cat "$(find good -type f | shuf -n1)"\' > bin/good
HackBot
parents:
diff
changeset
|
1 cat "$(find good -type f | shuf -n1)" |