On 14 March 2011 10:07, john lewis <johnle...@hantslug.org.uk> wrote: > However having created a script.sed and re-running the sed command I > get: > > sed: file script.sed line 1: unknown command: `-' > > but line one is "s/ / /g" and there is no "`-'" in that.
Did you leave the "snip" marker that Hugo had put at the top of the file? --8<-- file starts --8<-- is part of Hugo's mesage, should not be part of the .sed file. -- best regards, Victor Churchill, Bournemouth -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --------------------------------------------------------------