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

Re: test (builtin) dumps core



On Aug 15,  4:42pm, Sam Falkner wrote:
} Subject: test (builtin) dumps core
}
} try this (don't ask me why! ;-):
} 
} % test zsh -gt 0
} 
} this pauses a bit, and then dumps core.
} [...]
} if i put any other string there besides `zsh', i haven't been able to
} reproduce.  zsh is magic?  who knows.

The way the `test' builtin is written, this is (almost) the same as writing

	test $zsh -gt 0


-- 
Bart Schaefer                             Brass Lantern Enterprises
http://www.well.com/user/barts            http://www.nbn.com/people/lantern

New male in /home/schaefer:
>N  2 Justin William Schaefer  Sat May 11 03:43  53/4040  "Happy Birthday"



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