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

Re: 24948: max size of an array ?



Phil Pennock wrote:

Are you sure ... on your OS?

sure :

users=($( my cmd ))
echo $#users
24948
# 67123 users in fact

i've splitted the result in two arrays (alphabeticaly) and ly script works fine now.

Is this the limit you're hitting?

i fill an array with the stdout of a command. So the limit can't be out of zsh imho. Peter's explaination sounds good for me. I'll inspect that asap.

regards
mc



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