----- Original Message ----- From: "Tux" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Sunday, November 28, 2004 6:08 PM Subject: Re: [Eagleusb-dev] Buggy greps?
> > To reduce the "default" grep option list, you can also - 3. solution - > > escape every string to a basic regex. > This solution cannot be used in every case because we usually use variables: > ex: grep -ve "$ISP_LOGIN" $PPP_DIR/pap-secrets > We don't know whether $ISP_LOGIN contains a special character. > > Additional question: is it possible to use "\t" with grep? It doesn't seems to > work... > > _____ > Tux > You can look at two different examples using tab in grep expressions http://cvs.sourceforge.net/viewcvs.py/eciadsl/usermode/eciadsl-start?rev=1.4.2.2&view=markup http://cvs.sourceforge.net/viewcvs.py/ipcop/ipcop/src/rc.d/rc.eciadsl?rev=1.4.2.12&view=markup
