Re: [Hampshire] obfuscated code

Top Page

Reply to this message
Author: Victor Churchill
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] obfuscated code
On 14 March 2011 10:07, john lewis <johnlewis@???> 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/&#32;/ /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