From: Frank Mori Hess Date: Wed, 30 Jan 2008 16:39:06 +0000 (+0000) Subject: Modified output to be tab-delimited (for easier parsing later into a X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=46dd56c81311aea6854b946e93f30620f0d0f989;p=comedi.git Modified output to be tab-delimited (for easier parsing later into a html table). --- diff --git a/scripts/doc_devlist b/scripts/doc_devlist index ecf1fa81..b7163521 100755 --- a/scripts/doc_devlist +++ b/scripts/doc_devlist @@ -81,13 +81,13 @@ sub parse_devices #print "recognized dev $dev\n"; }elsif(m/^ *,(.*)/){ $devs = $1; - printf "%-28s %-18s %-17s %-10s\n", $mfr, $dev, $driver, $name; + printf "%s\t%s\t%s\t%s\n", $mfr, $dev, $driver, $name; }else{ print "parse error $_\n"; $devs = ""; } } - printf "%-28s %-18s %-17s %-10s\n", $mfr, $dev, $driver, $name; + printf "%s\t%s\t%s\t%s\n", $mfr, $dev, $driver, $name; }