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

set weirdness



Under beta-20, the output of set is screwed up for multiword variables.  The 
final space between the last 2 words is omitted, and there is a space after 
the last word.  So if you look at the signals array, instead of "...ZERR 
DEBUG)", you get "...ZERRDEBUG )".

zsh -f
spacely% set | grep signals
signals=(EXIT HUP INT QUIT ILL TRAP IOT EMT FPE KILL BUS SEGV SYS PIPE ALRM 
TERM USR1 USR2 CLD PWR WINCH URG POLL STOP TSTP CONT TTIN TTOU VTALRM PROF 
XCPU XFSZ WAITING LWP FREEZE THAW RTMIN 37 38 39 40 41 42 RTMAX ZERRDEBUG )
spacely% 

This is Sol2.5, but I've observed the same behavior under SunOS 4.1.3_U1.

--vin





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