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. Leo -- 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 --------------------------------------------------------------