annotate bin/leann @ 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 f0e600f03e07
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6875
f0e600f03e07 <izabera> ` printf \'(($#==1)) && set -- "${1%% *}" "${1#* }"; key=${1,,}; shift; cat <<< "${*,,}" > "wisdom/$key" && echo "Learned \xc2\xab$key\xc2\xbb"\' > bin/leann
HackBot
parents: 6874
diff changeset
1 (($#==1)) && set -- "${1% *}" "${1#* }"; key=${1,,}; shift; cat <<< "${*,,}" > "wisdom/$key" && echo "Learned «$key»"