From: tfheen Date: Sun, 11 Sep 2005 08:08:44 +0000 (+0000) Subject: fix busstuc X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=959b4646013de3aa86f089808515d21075afb583;p=dotfiles fix busstuc git-svn-id: file:///svn/tfheen/trunk/dotfiles@827 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- diff --git a/environment b/environment index 1080ca1..9d59b92 100644 --- a/environment +++ b/environment @@ -110,8 +110,8 @@ appendpathifdir () { } busstuc () { - echo "http://www.idi.ntnu.no/POST/tagore/busstuc/busq.pl?lang=nor&quest=$@" | \ - xargs -0 wget -q -O - | \ + echo "lang=nor&quest=$@" | \ + xargs -0 -i wget -q -O - --post-data {} http://www.idi.ntnu.no/~tagore/cgi-bin/busstuc/busq.cgi| \ html2text -width 1000| \ sed '/[[:alpha:]]/p;d' }