Skip to content

Commit

Permalink
Script to generate some good fortunes
Browse files Browse the repository at this point in the history
  • Loading branch information
aerth committed Oct 8, 2016
1 parent cc276d8 commit b3de4ac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions add-fortune.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
# double line separated fortunes. some get cut off but oh well.
echo "Populating fortunes.txt, press Ctrl C when you think its big enough."
for i in $(cat fortunes.txt); do
fortune -o >> fortunes.txt && echo "" >> fortunes.txt;
done

0 comments on commit b3de4ac

Please sign in to comment.