tazpanel diff hardware.cgi @ rev 569
hardware.cgi: update usb device output
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 21 12:31:16 2016 +0100 (2016-02-21) |
parents | 37371a0ba561 |
children | 16cec361e410 |
line diff
1.1 --- a/hardware.cgi Sun Feb 14 10:14:04 2016 +0100 1.2 +++ b/hardware.cgi Sun Feb 21 12:31:16 2016 +0100 1.3 @@ -37,7 +37,7 @@ 1.4 case "$j" in 1.5 descriptors|remove) continue 1.6 esac 1.7 - printf "%-20s %s\n" $j "$(xargs echo < $j)" 1.8 + awk -vn=$j '{printf "%-20s %s\n",n,$0;n=""}' <$j 1.9 done ) 1.10 break 1.11 done