From 3d1eef7c45af07458a08e6f0fb3c94dab53a134c Mon Sep 17 00:00:00 2001 From: tfheen Date: Tue, 4 Nov 2003 21:57:08 +0000 Subject: [PATCH] fix around shell quoting and such git-svn-id: file:///svn/tfheen/trunk/dotfiles@209 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- environment | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.5