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

Re: field splitting with empty fields



On Oct 29,  7:58pm, Clint Adams wrote:
}
} list=Blah:A1A:Eletbe::415:Z:8200490172
} print -l ${(s.:.)list}
} 
} What's the best way to get a blank line in between Eletbe and 415?

print ${list//:/$'\n'}

??



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