]> gitweb.fluxo.info Git - httruta.git/commitdiff
Make curl silent
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 25 Aug 2013 19:53:47 +0000 (16:53 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 25 Aug 2013 19:53:47 +0000 (16:53 -0300)
httracker

index e33b9a462a49cad63511d415dd95921a22c94b31..42ae9af52cf63aacb447f494295f8b4f031f00c6 100755 (executable)
--- a/httracker
+++ b/httracker
@@ -54,7 +54,7 @@ mkdir -p $MIRRORS $TMP
 
 # Get URL
 # Thanks http://stackoverflow.com/questions/443991/how-to-parse-rss-feeds-xml-in-a-shell-script
-curl $FEED | grep -o '<link>[^<]*' | grep -o "[^>]*$" > $URLS
+curl -s $FEED | grep -o '<link>[^<]*' | grep -o "[^>]*$" > $URLS
 
 if [ "$?" != "0" ]; then
   echo "Error downloading feed $FEED, aborting."