[plug] grep and regular expressions...
Brad Hill
brad at marketcast.com.au
Fri May 16 11:46:12 WST 2003
try grep " \\\\f$"
----- Original Message -----
From: "David Buddrige" <buddrige at wasp.net.au>
To: <plug at plug.linux.org.au>
Sent: Friday, May 16, 2003 11:30 AM
Subject: [plug] grep and regular expressions...
> Hi all,
>
> I have a series of html text files that have the characters \f at the end
of
> some of the lines.
>
> I am wanting to run a grep command that will pick up any line in the file
> that ends with the literal characters " \f" (that is to say space, slash
f)
>
> I have tried the following grep commands to pull out these lines:
>
>
> grep "\\f$" *.htm
>
> and
>
> grep "\ \\f$" *.htm
>
> and
>
> grep " \f$" *.htm
>
> grep "f$" *.htm
>
> however none of these match the lines I am after. Can anyone see what's
> wrong with my regular expressions?
>
> thanks
>
> David Buddrige.
>
>
>
> the expected start and end times of the plan can be modified<a
> name="IX_165"></a> \f
More information about the plug
mailing list