annotate bin/pastenquotes @ 9503:3fc3b4da9f7e

<oerjan> sled bin/sed2//2c/bin/sed "$@" && if [[ $* == "3" -a "/$1" == "/-i" ]]; then echo -n "$3//"; cat "$3"; fi
author HackBot
date Sat, 29 Oct 2016 19:25:24 +0000
parents e037173e0012
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1 #!/bin/sh
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2 n=$1
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3 if [ "$((n+0))" != "$n" ]; then n=15; fi
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4 allquotes | shuf -n $n | paste