By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,413 Members | 1,023 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,413 IT Pros & Developers. It's quick & easy.

grep in C code

P: 3
hi
can any one help me with the code of grep command as in Unix in C .
need this for my project. i googled but to no avail.
thnaks
Nov 5 '06 #1
Share this Question
Share on Google+
3 Replies


P: 4
sorry I forgot to say that it is string
Nov 5 '06 #2

P: 18
try using functions generated by lex ..search google for lex
Nov 9 '06 #3

sicarie
Expert Mod 2.5K+
P: 4,677
try using functions generated by lex ..search google for lex
I know there is a C++ regexp library, though I don't know if grep is in there - it's worth checking out for the regular expressions part of grep, though.
Nov 9 '06 #4

Post your reply

Sign in to post your reply or Sign up for a free account.