[Nottingham] Howto delete chars from midway into lines of text?

Camilo Mesias camilo at mesias.co.uk
Thu May 6 12:58:50 UTC 2010


D'Oh - I just saw the /4 bit.

What I should have said is:

sed 's/"\([^"]*\)"/\1/3' quoted.txt

Where you replace the 3 with N. It's better because you don't have to
worry about the commas and spaces.

-Cam



More information about the Nottingham mailing list