From: tfheen Date: Tue, 4 Nov 2003 21:57:08 +0000 (+0000) Subject: fix around shell quoting and such X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d1eef7c45af07458a08e6f0fb3c94dab53a134c;p=dotfiles fix around shell quoting and such git-svn-id: file:///svn/tfheen/trunk/dotfiles@209 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- diff --git a/environment b/environment index d68e9a5..d062e1e 100644 --- a/environment +++ b/environment @@ -36,7 +36,10 @@ appendpathifdir () { } busstuc () { - wget -q -O - "http://www.idi.ntnu.no/POST/tagore/busstuc/busq.pl?lang=nor&quest=$1" | html2text | sed '/[[:alpha:]]/ {p}; d' + echo "http://www.idi.ntnu.no/POST/tagore/busstuc/busq.pl?lang=nor&quest=$@" | \ + xargs -0 wget -q -O - | \ + html2text | \ + sed '/[[:alpha:]]/ {p}; d' } if is_debian; then