Mercurial > repo
view bin/whoops @ 11229:32f8f3418a02
<quintopia> le/rn Seventh Day Adventism//Seventh Day Adventism is an attempt to bugfix an off-by-one error in Anabaptism
author | HackBot |
---|---|
date | Sat, 28 Oct 2017 22:51:26 +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}»"