On Tue, 21 Aug 2001, Jeff 'japhy/Marillion' Pinyan wrote:

> >What regular expression would you pass to the grep (1) program to
> >search for all the #define statements in file? Remember that there can
> >be spaces or tabs both before and after the # sign.
>
> This language sounds HIGHLY suspect of homework.

And if they are C source files, there isn't supposed to be any spaces or
tabs before or after the #define string -- it has to be flush left with no
spaces between # and define.

Oh, well.

-- Brett
                                          http://www.chapelperilous.net/
------------------------------------------------------------------------
"Just Say No."   - Nancy Reagan

"No."            - Ronald Reagan


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to