Author: Leo Date: To: hampshire Subject: Re: [Hampshire] Pipe issues
Bob Dunlop wrote: >
> Whos turning the \s into a space I wonder ?
>
> It's not a bash syntax that I recognise, nor a grep one ?
>
> Are you using csh for your interactive session ?
>
> Try the following in your script.
>
> program | grep -E -v "remaining[[:space:]]*$"
>
> That's a combination I know works with grep regardless of the shell used.
> Don' forget the -E
>
I got the syntax from reading man perlrequick. Unfortunately the new
syntax you specify doesn't help. Thanks though.