Re: grep will not work with a variable?

2007-03-29 Thread Kevin Markle
It happens that Gary Johnson formulated : On 2007-03-29, Kevin Markle wrote: Gary Johnson used his keyboard to write : On 2007-03-29, Kevin Markle wrote: Hello, I'm trying to find a pattern in a file and the command works if I manully put the output of the variable in it but when I use the

Re: grep will not work with a variable?

2007-03-29 Thread Keith Christian
Kevin Markle wrote: Keith Christian brought next idea : Kevin Markle wrote: Hello, I'm trying to find a pattern in a file and the command works if I manully put the output of the variable in it but when I use the variable it fails? I have tryed with quotes "$CLIENT" and without. I don't k

Re: grep will not work with a variable?

2007-03-29 Thread Gary Johnson
On 2007-03-29, Kevin Markle wrote: > Gary Johnson used his keyboard to write : > > On 2007-03-29, Kevin Markle wrote: > >> Hello, > >> > >> I'm trying to find a pattern in a file and the command works if I > >> manully put the output of the variable in it but when I use the > >> variable it fails

Re: grep will not work with a variable?

2007-03-29 Thread Kevin Markle
Gary Johnson used his keyboard to write : On 2007-03-29, Kevin Markle wrote: Hello, I'm trying to find a pattern in a file and the command works if I manully put the output of the variable in it but when I use the variable it fails? I have tryed with quotes "$CLIENT" and without. I don't kno

Re: grep will not work with a variable?

2007-03-29 Thread Kevin Markle
Keith Christian brought next idea : Kevin Markle wrote: Hello, I'm trying to find a pattern in a file and the command works if I manully put the output of the variable in it but when I use the variable it fails? I have tryed with quotes "$CLIENT" and without. I don't know what else to try? :

Re: grep will not work with a variable?

2007-03-29 Thread Keith Christian
Kevin Markle wrote: Hello, I'm trying to find a pattern in a file and the command works if I manully put the output of the variable in it but when I use the variable it fails? I have tryed with quotes "$CLIENT" and without. I don't know what else to try? :-( echo "Client variable is --> \"$

Re: grep will not work with a variable?

2007-03-29 Thread Gary Johnson
On 2007-03-29, Kevin Markle wrote: > Hello, > > I'm trying to find a pattern in a file and the command works if I > manully put the output of the variable in it but when I use the > variable it fails? I have tryed with quotes "$CLIENT" and without. I > don't know what else to try? :-( What do

grep will not work with a variable?

2007-03-29 Thread Kevin Markle
Hello, I'm trying to find a pattern in a file and the command works if I manully put the output of the variable in it but when I use the variable it fails? I have tryed with quotes "$CLIENT" and without. I don't know what else to try? :-( -- Unsubscribe info: http://cygwin.com/ml/#un