It works! Thanks!
Le February 10, 2003 12:11 am, vous avez écrit : > try > > grep '\$' someFile > > YOu need to enclose the expression in quotes > > On February 10, 2003 12:09 am, Cedric Veilleux wrote: > > Hi, > > > > What is the correct regular expression for a simple $ character? I want > > to filter a file for any lines containing a $ char, but it does not > > work.. > > > > man grep tells me $ is a special regular expression char.. I try to > > escape it using \$ but it doesn't work.. > > > > grep $ someFile > > > > grep \$ someFile > > > > grep "\$" someFile > > > > grep /$ someFile > > > > nothing gives me the result expected! > > > > > > > > -- > > [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list