Mercurial > repo
view bin/before @ 12263:7829671dc5b3 draft
<b_jonas> addwhatis randquote(1hackeso) - print a random quote matching a regular expression
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sun, 08 Dec 2019 00:31:29 +0000 |
parents | c989a1669243 |
children |
line wrap: on
line source
lastfiles "$@" | while read f; do echo -n "$f//"; hg cat -r "$(hg log --removed --template '{rev}\n' "$f" | tail -n+2 | head -n1)" "$f"; done