>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> My reading of the above is that egrep is used to filter out
Angus> only the DeclareFooClass lines which are then manipulated by
Angus> sed. 

Indeed. As you remember, I am not very good with sed.

Angus> That's equivalent to:

Angus> sed -n -e 's/a/b/p' -e 's/c/d/p' -e 's/e/f/p' "$file"

Angus> which prints out only those lines in "$file" that are
Angus> manipulated.

How portable is -n?

JMarc

Reply via email to