view bin/quotenums @ 9047:dfc5682ee287

<fizzie> ` sed -i -e \'s/{/if [ -n "$f" ]; then/;s/} |/else echo "that\'\\\'\'s not wise"; fi |/\' bin/wisdom
author HackBot
date Fri, 16 Sep 2016 22:47:19 +0000
parents fe8f574b561c
children 4db5a8cfee37
line wrap: on
line source

#!/bin/sh
grep -P -i -n "$1" quotes | cut -d : -f 1 | xargs