[email protected] (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: [email protected]
                                "A potential Snark may lurk in every tree."

Reply via email to