aboutsummaryrefslogtreecommitdiffstats
path: root/debian/examples/moolets
diff options
context:
space:
mode:
Diffstat (limited to 'debian/examples/moolets')
-rwxr-xr-x[-rw-r--r--]debian/examples/moolets9
1 files changed, 4 insertions, 5 deletions
diff --git a/debian/examples/moolets b/debian/examples/moolets
index 284ebd3..3e0b74e 100644..100755
--- a/debian/examples/moolets
+++ b/debian/examples/moolets
@@ -2,13 +2,12 @@
# Prints "Moo" using every font installed on /usr/share/figlet
# Written by Sandro Tosi <matrixhasu@gmail.com>
-
-> /tmp/moolets
+# Modified by Jonathan McCrohan <jmccrohan@gmail.com>
for file in /usr/share/figlet/*.flf ; do
FONT=`basename $file | sed 's|\(.*\)\.\(.*\)|\1|'`
- echo -e "Font: $FONT \n" >> /tmp/moolets
- figlet -f $FONT Moo >> /tmp/moolets
- echo -e "\n\n" >> /tmp/moolets
+ printf "Font: $FONT\n"
+ figlet -f $FONT Moo
+ printf "\n"
done