On Wed, Dec 09, 2009 at 07:07:52PM +0000, Chris Jackson wrote: > > Note that from the shell this is in single quote marks to stop shell > expansions. Doing it without those would be masochism ;)
It already is: l...@yun:~/tmp/chan$ cat channels.dvb | sed '/^[^|]*|[^|]*-[0-9]|/' | wc -l sed: -e Ausdruck #1, Zeichen 21: Fehlender Befehl 0 l...@yun:~/tmp/chan$ (which means: "expression #1, character 21: missing command" --- and it matches every line) But the idea behind your version is interesting :) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org