CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   egrep command (https://www.cfd-online.com/Forums/siemens/54030-egrep-command.html)

Julie September 13, 2004 12:02

egrep command
 
Hello,

Does somebody know how to use the command egrep for extracting the needed values from a file (.info file, for example)?

Regards,

Julie

steve September 14, 2004 13:34

Re: egrep command
 
egrep is very similar to grep - did you try

man grep

to see the parameters?

Type something like

grep ITER file.info

for example to find all lines containing the string ITER in the file file.info

Jörn Beilke September 14, 2004 17:05

Re: egrep command
 
http://www.adapco-online.com/adapco_...ices/tips.html

Have a look at the second script.



All times are GMT -4. The time now is 11:22.