I'm not sure what you are trying to achieve exactly, but this is easily
done is a short perl script.
You cannot do what you are asking without invoking grep twice.
charles
On Mon, 3 Jul 2000, SoloCDM wrote:
>
> The problem I'm up against is contingent on another issue --
> insensitive casing. Sed does a great job of finding things (without
> any set order), but is heavily reliant on casing. Grep has the "-i"
> option that rules out all case contingencies.
>
> I know I could pipe input through tr '[:upper:]' '[:lower:]' for
> sed, but one more command makes it lengthy and it also distorts the
> output -- making it unreliable.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.