Colomban Wendling wrote:
BTW sed behaves the way Erik wants: sed 's/^ //g' file will only remove the first spaces of every lines, even though the option g is present.
So does Nedit, my text editor of choice from 1995 til a month or two ago :-).
Erik