[kwlug-disc] Question about `ps` and `grep`
Ronald Barnes
ron at ronaldbarnes.ca
Fri Sep 27 18:44:09 EDT 2024
Chris Craig wrote on 2024-09-27 04:16:
> Sorry about that, I should have gone into more detail. I should have
> elaborated about the string itself, since it wasn't just 'tmux' but
> the entire line from the `ps` output. Also the way I described it was
> a bit backwards - it's more correct (arguably) to say that the regex
> pattern didn't match the string.
No problem, thanks for your initial reply.
It *should* have been obvious to me, but I just completely blanked out.
Probably over-thought the regex part and missing anchor, overlooking the
obvious "the regex is a string in the ps output".
Thanks again,
rb
More information about the kwlug-disc
mailing list