Permalink
Browse files

Supports Comments in the input file

  • Loading branch information...
1 parent 5d8a757 commit bf1d4adca3d77718f351c8d8a7ac7c667ca12784 @nixterrimus committed Dec 5, 2011
Showing with 4 additions and 3 deletions.
  1. +4 −3 tumbld.sh
View
@@ -19,12 +19,13 @@ then
exit $E_BADARGS
fi
-
if [ -e $1 ]
then
# Download a site of tumblrs using a file as source
- cat $1 | while read site; do
- download_site $site
+ cat $1 | while read site; do
+ if [[ $site != \#* ]]; then
+ download_site $site
+ fi
done
else
# download a single tumblr

0 comments on commit bf1d4ad

Please sign in to comment.