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

Re: unset IFS - zsh: segmentation fault (core dumped) zsh

On Wed, 20 May 2009, Peter Stephenson wrote:

${(r:48::q:)}u%b%{^[[38;5;147m%}%{^O%}%{^O%}%D{%H:%M} %{^[[38;5;62m%}Auckland%{^N%}%{^[[38;5;231m%}tu%{^O%}%{^[[38;5;40m%}0.28, 0.22, 0.19%{^N%}%{^[[38;5;231m%}tu${PR_STUFF[BG_LIGHT_BLUE]}${PR_STUFF[WHITE]}AC 100%%${PR_STUFF[NO_COLOUR]}%{^[[38;5;231m%}%{^[[0m%}%{^[[38;5;231m%}t


I wasn't sure whether to replace the two-character ^[, which seem to occur even in the base 64 version, with escape sequences, but it didn't actually seem to matter as far as the crash is concerned. This turned up one remaining problem in the patch I posted yesterday, which I've fixed, and I've committed it.

thank *you*.


 762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808

	"In fact a vegan driving a hummer would be contributing
	 less greenhouse gas carbon emissions than a meat eater
	 riding a bicycle."
		-- Capt Paul Watson, A Very Inconvenient Truth

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