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

Re: PATCH: $modules (was: Re: Seg fault with zmodload -u)



> No. It's that without aliases, `zmodload -A' prints a newline. I.e.,
> one line. So `${${(f)"$(zmodload -A)"}%% *}' produces one string (an
> empty one). This could have been fixes by using:
> `${${${(f)"$(zmodload -A)"}%% *}:#}'.

% zmodload -A | od -t x2
0000000

-- 
Peter Stephenson <pws@xxxxxxx>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070



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