Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: egrep --color=always 'zsh\.'



On Tue, Apr 2, 2024 at 3:46 PM Lawrence Velázquez <larryv@xxxxxxx> wrote:
>
> On Tue, Apr 2, 2024, at 4:53 PM, Ray Andrews wrote:
> > Right, I know that, my code sample was too lazy.  The only issue is
> > with the egrep.
>
> The solution is to stop using egrep.

Consider perhaps fgrep which looks for literal strings rather than patterns.

> "Preserving" the quotes, as you considered in your first message,
> would in fact break the command.

Obviously what needed to be preserved was the backslash.




Messages sorted by: Reverse Date, Date, Thread, Author