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

Re: Any easier way of parsing this file?



On Oct 19,  9:37am, DervishD wrote:
} 
}   I was more interested in an alternative for the "print | while read"

Such as
	for line in "${(f)data}"
perhaps?

Actually in 4.2.5 you can probably do

	for label content in "${(j/=/s/=/)${(f)data}}"

as long as none of the content parts contain equal signs.



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