Mercurial > repo
view bin/tomfoolery @ 10458:332c4d131d82
<shachaf> mkx bin/`^//[[ $# == 2 ]] || { echo "Usage: $0 n cmd" >&2; exit 2; }; for ((i=0; i < $1; i++)); do \\` "$2"; done | sport
author | HackBot |
---|---|
date | Mon, 20 Mar 2017 01:55:37 +0000 |
parents | c989a1669243 |
children | 77998d6dfbd4 |
line wrap: on
line source
if [ -z "$1" ];then exec echo "I have nothing to tell you.";fi;f="tmflry/$(echo "$1" | lowercase)";if [ -h "$f" ];then exec tomfoolery `readlink "$f" | sed 's/^tmflry\///'`;fi;if [ -x "$f" ];then exec bash "$f";fi;if [ -r "$f" ];then exec cat "$f";fi;echo "I must confess, I know not of what you are speaking."