changeset 9714:ad82afc321ca

<oerjan> whoop ../bin/whoop
author HackBot
date Thu, 17 Nov 2016 18:25:56 +0000
parents 74af86bc1ab2
children df0670e67073
files bin/whoop bin/whoops
diffstat 2 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/whoop	Thu Nov 17 18:24:29 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-OLD="wisdom/$1"; [ -z "$1" ] && OLD="$(lastfiles)"; NEW="${OLD}s"; if [ -f "$NEW" ]; then echo "«${NEW}» already exists"; exit 1; fi; mv "$OLD" "$NEW" && echo "«${OLD}» -> «${NEW}»" 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/whoops	Thu Nov 17 18:25:56 2016 +0000
@@ -0,0 +1,1 @@
+OLD="wisdom/$1"; [ -z "$1" ] && OLD="$(lastfiles)"; NEW="${OLD}s"; if [ -f "$NEW" ]; then echo "«${NEW}» already exists"; exit 1; fi; mv "$OLD" "$NEW" && echo "«${OLD}» -> «${NEW}»"