Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: printing channel list
On Freitag 28 Mai 2004 12:55, Matthias Mueller wrote:
> My channels.conf doesn't include the @, so here's a version, that numbers
> the channels correctly with and without @ (hopefully):
works nicely, thanks!
I changed it to suppress encrypted channels:
awk -F':' ' BEGIN { num = 1 } { if (/^:/) { if ($2 ~ /^@/){ FS=" "; $0=$2; print "\n" $2 ": "; num = substr($1,2);}else {print "\n" $2 ": " }; FS=":"} else { if ($9 == 0 ) { print num " " $1 } ; num+=1} }' channels.conf
--
Wolfgang
Home |
Main Index |
Thread Index