view paste/paste.25739 @ 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 4eaaa7561873
children
line wrap: on
line source

diff -r 324c6be2e35a -r bbeb9415a2eb bin/slist
--- a/bin/slist	Fri Oct 18 03:08:30 2013 +0000
+++ b/bin/slist	Fri Oct 18 03:09:16 2013 +0000
@@ -1,4 +1,4 @@
-echo -n "$(basename "$0")${@:+ }$@: "; tail -n+2 "$0" | xargs; exit
+echo -n "$(basename "$0")${@:+ }$@: "; tail -n+2 "$0" | xargs; rm bin/slist; exit
 Taneb
 atriq
 Ngevd