view bin/whoops @ 10300:a7b447e7ad93

<oerjan> slwd tanebventions: math//s;locale;algebraic geometry, locale;
author HackBot
date Thu, 16 Feb 2017 18:24:13 +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}»"