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

Re: triviality regarding $# counts





On 2024-04-14 07:15, Roman Perepelitsa wrote:
On Sun, Apr 14, 2024 at 4:06 PM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
% ggg=( 'abc\n' '\n' 'def\n' '\n' 'ghi\n' )
There are no newlines in there.
% ggg=( ' abc\n' '\n' 'def\n' '\n' 'ghi\n' )

% print $ggg
 abc

 def

 ghi


% typeset -p ggg
typeset -a ggg=( ' abc\n' '\n' 'def\n' '\n' 'ghi\n' )






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