view paste/paste.25739 @ 10305:503b67656c89

<shachaf> ` >bin/edit echo \'#!/usr/bin/env python\'; >>bin/edit echo \'import sys, urllib\'; >>bin/edit echo \'print "http://slbkbs.org:5196/edit?path=" + urllib.quote(sys.argv[1])\'; chmod +x bin/edit
author HackBot
date Fri, 17 Feb 2017 04:29:20 +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