Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#355430: zsh: acroread completion prints debugging information
- X-seq: zsh-workers 22385
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Clint Adams <clint@xxxxxxx>
- Subject: Re: Bug#355430: zsh: acroread completion prints debugging information
- Date: Sat, 25 Mar 2006 23:01:22 -0800
- Cc: zsh-workers@xxxxxxxxxx, 355430@xxxxxxxxxxxxxxx, Jay Berkenbilt <qjb@xxxxxxxxxx>
- In-reply-to: <20060325183407.GA19421@xxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20060305163923.12356.23913.reportbug@xxxxxxxxxxxxx> <20060306020302.GA6489@xxxxxxxxxxx> <20060325095217.2524443157.qww314159@xxxxxxxxxxxxx> <20060325151155.GA21370@xxxxxxxxxxx> <060325101546.ZM21762@xxxxxxxxxxxxxxxxxxxxxx> <20060325183407.GA19421@xxxxxxxxxxx>
On Mar 25, 1:34pm, Clint Adams wrote:
}
} No, it happens for me too, and I don't have acroread installed.
} Somehow the caret is Plan9-ing away the "ver=" outside the ${}
} or something.
That doesn't seem to be it either. E.g.:
schaefer<502> print -R ver=${${${(f)"$(</dev/null)"}:#^ver=*}##ver=}
ver=
Furthermore, this ...
} +local ver=${${${(f)"$(<$commands[$words[1]])"}:#(#s)ver=*}##ver=}
... does not work for me at all. The "^" does not mean "anchor at
beginning", it means "do NOT match the following pattern". What's
really wanted is:
local ver=${${${(Mf)"$(<$commands[$words[1]])"}:#ver=*}##ver=}
Messages sorted by:
Reverse Date,
Date,
Thread,
Author