Mercurial > repo
view bin/whoops @ 10735:543c20d2f5b4
<rdococ> le//rn egg//Yay! You reached the easter egg! \x02\x034(\x037:\x038|\x039{\x033}\x0311:\x032)
author | HackBot |
---|---|
date | Sun, 16 Apr 2017 16:19:52 +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}»"