X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=makesample.sh;h=e7e5e1641e21feb80e2e1698b71f41c686d41651;hb=846aed59c5121e74a5d8c7b9c0421487933d1536;hp=4fc172989200f24ab5421d580ee6067da5f07c07;hpb=7e3afbbacdd24f8c3fb87599eeda32b977fe6d6c;p=filters.git diff --git a/makesample.sh b/makesample.sh index 4fc1729..e7e5e16 100644 --- a/makesample.sh +++ b/makesample.sh @@ -1,5 +1,11 @@ -#!/bin/sh +#!/bin/sh -e +chmod +x $1 echo $1 >>SAMPLES echo "-------------" >>SAMPLES -echo -e "Here's how this filter sounds, in everyday use.\nThis line is another sample of this filter's output." | ./$1 >>SAMPLES -echo "" >>SAMPLES \ No newline at end of file +if [ "$1" != fanboy ]; then + printf "Here's how this filter sounds, in everyday use.\nNow is the time for all good men to come to the aid of their country." | ./$1 >>SAMPLES +else + printf "This filter has to be tried on real world text to be understood! Oh, and Ubuntu Rules!" >>SAMPLES +fi +echo "" >>SAMPLES +echo "" >>SAMPLES