annotate bin/pastekarma @ 246:ec6551229ecb

<nortti> run echo > tmp.lolo; for i in *; do fortune >> tmp.lolo; echo '---' >> tmp.lolo; done; cat tmp.lolo | paste; rm tmp.lolo
author HackBot
date Mon, 16 Apr 2012 21:23:33 +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 cd karma
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3 ls | while read thing; do
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4 echo "$thing: $(cat "$thing")"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5 done | paste
e037173e0012 Initial import.
HackBot
parents:
diff changeset
6