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

Re: Rotate words in string



On 10 May 2016 at 12:26, Roman Neuhauser <neuhauser@xxxxxxxxxx> wrote:
> turn it into an array, then:
>
> words=($words[-1] $words[1,-2])

Thanks

Sebastian Gniazdowski



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