Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: sed and xentools413
wiz%NetBSD.org@localhost (Thomas Klausner) writes:
>sed "s/^ *\([0-9]*\)\t.*$/\1/" hunspell-capmain-plus_de_DE.tmp.unknown.tmp > hunspell-capmain-plus_de_DE.tmp.list-unknown-lines.tmp
>sed: 1: "s/^ *\([0-9]*\)\t.*$/\1/": RE error: trailing backslash (\)
>What is the trailing backslash in that regex?
sed doesn't understand \t as TAB. NetBSD-9 sed also doesn't understand it,
but it (or rather the underlying regcomp() function) doesn't bail out.
N.B. usage of '$' in a double-quoted string is also questionable.
--
--
Michael van Elst
Internet: mlelstv%serpens.de@localhost
"A potential Snark may lurk in every tree."
Home |
Main Index |
Thread Index |
Old Index