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

Re: psychiatric help



On Mon, Apr 6, 2026 at 10:34 AM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
> Na, all I want is to be able to *read* the unexpanded tail.

Except that's not all you want to do when you add that ,H thing?

> that would do it.  Dunno, I guess it can't be explained, but I feel in
> my C guts that a command should be able to interrogate it's own
> invocation string as a matter of first principles.

At the C level, it can.  But "invocation string" in that context is
the entire post-globbing, post-expansion contents.

> But if I could just sneak a peek at 3a) ...

Another problem is that what we're calling 3a is constantly changing.
If you setopt xtrace, every line that's written by the trace
represents a new 3a.  You need a way to filter for the ones you care
to capture.




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