Skip to content

Commit

Permalink
Fix fortunes.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
aerth committed Oct 8, 2016
1 parent b3de4ac commit fed7425
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion add-fortune.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,39 @@
#!/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."
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;

for i in $(cat fortunes.txt); do
fortune -o >> fortunes.txt && echo "" >> fortunes.txt;
fortune >> fortunes.txt && echo "" >> fortunes.txt;
done

0 comments on commit fed7425

Please sign in to comment.