view bin/whoops @ 10627:d5ffe77e50e0

<hppavilion[1]> sled bin/lowercase2//s/\xc3\xbd/\xc3\xbd\xc5\x82/
author HackBot
date Wed, 12 Apr 2017 20:25:54 +0000
parents ad82afc321ca
children 8ec9cd952dd5
line wrap: on
line source

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}»"