[plug] Re: grep and regular expressions...

Brad Hill brad at marketcast.com.au
Fri May 16 12:00:57 WST 2003


ah, then you'd need grep " \\\\f\r$" ? (maybe)

----- Original Message ----- 
From: "David Buddrige" <buddrige at wasp.net.au>
To: <plug at plug.linux.org.au>
Sent: Friday, May 16, 2003 11:55 AM
Subject: [plug] Re: grep and regular expressions...


> I have tried grep "\\\f$" mytextfile.txt (see attached file), and that
> seemed to work ok both with the program, and also with the grep command
> above.
>
> I am thinking that maybe there are some hidden characters in there that
I'm
> not seeing...... goes away and tries grep "\\\f"....
>
> Actually I've just worked it out; it's an ms-dos format text file, and
hence
> it's barfing over the line-feed (or carriage return - I can't remember
which
> it is that unix doesn't use)
>
> thanks heaps all for assistance
>
> David.
> David Buddrige writes:
> > Brad Hill writes:
> >
> >> try grep " \\\\f$"
> >>
> >
> > that didn't seem to work either.
> >
> > cheers
> >
> > David.
> >
>
>



More information about the plug mailing list