Search This Blog

Tuesday, April 6, 2010

Linux bash: when to use egrep instead of grep?

Programmer Question

Hi all :



I am preparing for a Linux terminal assessment now, I tried to Google and found most resources are referring to the basic "grep" rather than the more powerful "egrep" -- well, that is at least what the professor said in lecture.



I am always working with small samples so performance tuning is a thing too far away.



So basically I'd like to know are there any areas where I must switch to egrep to do it in a better way? Is it safe to work with basic "grep" as for now? will there be potential risks?



Sorry about my limited knowledge on Linux shell commands, the man page looks like a maze to me and honestly I haven't put much time in understanding all the features both command provide.



Find the answer here

No comments:

Post a Comment

Related Posts with Thumbnails