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

Re: xargs with zsh function



On 2021-01-18 3:09 p.m., Bart Schaefer wrote:
On Mon, Jan 18, 2021 at 2:14 PM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:

There's something in your test script you're not showing us;
nothing in
xzargs() { zargs -t -- "${(f)$(read -d '' -E)}" -- "$@" }

would be evaluating a math expression.
Nope that was the entire thing.  Some artifact somewhere?  Some ... dunno.  Something weird with the terminal perhaps, I restarted and math issues are gone.  Very strange.  By now I should remember to always try things in a clean shell and fresh terminal before reporting some difficulty.

% xzargs() { zargs -n 1 -t -- "${(f)$(read -d '' -E)}" -- "$@" }

Thanks.




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