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

Re: Per line ${..//..}



DervishD wrote:
>     Unfortunately the original data is not in an array :( Will this
> work?:
> 
>     olddata=(${(f)olddata))
>     olddata=(${olddata:#...})

Yes, you should be able to combine them along the lines of

     ${${(f)olddata}:#...}

pws


This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com



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