On Wed, 16 Sept 2026 at 07:39, Pádraig Brady <[email protected]> wrote:

> On 15/09/2026 19:14, Wiley Young wrote:
> > ```bash
> >    bash-5.3.9 liveuser  ~ $ realpath --help | grep -Fe '-e' | sed -n l
> >    \033]8;;
> https://www.gnu.org/software/coreutils/manual/coreutils.html#realpath-e\033\\\033[1m-e,
> --canonicalize-existing\033[0m\033]8;;\\033\\  all components of the path
> must exist$
> > ```
>
> Your grep coloring is conflicting with the URLs used in --help output.


If that was the case, the output would look more like:

\033]8;;https://www.gnu.org/software/coreutils/manual/coreut
> ils.html#realpath*\\033[1m-e\\033[m*\033\\\033[1m*\\033[1m-e\\033[m*,
> --canonicalize-existing\033[0m\033]8;;\\033\\  all components of the path
> must exist$
>
> _____________________________________________________________________________
> *^^^^^^^^__**^^^^^^^*_____________*^^^^^^^^__^^^^^^^*


However, `*grep --color=auto*` only colorizes the output it's to a terminal
(and not, say a pipe to sed).

-Martin

Reply via email to