annotate bin/whoops @ 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 afeac7a6f758
children 5b15e42489b9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5338
afeac7a6f758 <oerjan> (cat bin/emptylist; echo \'we forgot to implement this command\') >bin/whoops; chmod +x bin/whoops
HackBot
parents:
diff changeset
1 echo -n "$(basename "$0")${@:+ }$@: "; tail -n+2 "$0" | xargs; exit
afeac7a6f758 <oerjan> (cat bin/emptylist; echo \'we forgot to implement this command\') >bin/whoops; chmod +x bin/whoops
HackBot
parents:
diff changeset
2 we forgot to implement this command