Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: $modules (was: Re: Seg fault with zmodload -u)
- X-seq: zsh-workers 12657
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: PATCH: $modules (was: Re: Seg fault with zmodload -u)
- Date: Wed, 16 Aug 2000 11:12:20 +0100
- In-reply-to: "Your message of Wed, 16 Aug 2000 11:56:44 +0200." <200008160956.LAA11550@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
> 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