On Friday 13 December 2002 12:06 pm, Andre Poenitz wrote: > PS: > > $ grep -n "#if" *.[Ch] | sed -n '/FL_/p' > > Too much sed lately?
Perhaps not enough grep. I dunno why I dodn't use this: grep -n '#if' *.[Ch] | grep 'FL_' Perhaps becuase I was trying to do it as a single command for match RE1 AND match RE2 and got stuck ;-) -- Angus