]> iEval git - filters.git/blobdiff - makesample.sh
Fix d/copyright (according to DEP-5)
[filters.git] / makesample.sh
index 4fc172989200f24ab5421d580ee6067da5f07c07..e7e5e1641e21feb80e2e1698b71f41c686d41651 100644 (file)
@@ -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
This page took 0.016584 seconds and 4 git commands to generate.