]> err.no Git - dotfiles/commitdiff
busstuc: pass -width to html2text, for long bus station names.
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Tue, 18 May 2004 08:23:46 +0000 (08:23 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Tue, 18 May 2004 08:23:46 +0000 (08:23 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@591 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

environment

index 98ff37988190bf00a39c5858fa6dc8508e73eb81..bdef13e0f14dc12d73adb498e793ec2b4b175eb2 100644 (file)
@@ -90,7 +90,7 @@ appendpathifdir () {
 busstuc () {
     echo "http://www.idi.ntnu.no/POST/tagore/busstuc/busq.pl?lang=nor&quest=$@" | \
         xargs -0 wget -q -O - | \
-        html2text | \
+        html2text -width 1000| \
         sed '/[[:alpha:]]/p;d'
 }