Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Rotate words in string
- X-seq: zsh-users 21532
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Rotate words in string
- Date: Tue, 10 May 2016 07:39:22 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=qCLE18rgbjc3CVECT4i+Lj35h5WhcVkwOe7elbnw4yk=; b=Okjhyv4Aq7rKb8kHxrOCay/TUZ/DqiCz2wnH0m83Vgx2JfDlkaIdic4+9JIEw/Lq2x wQGJtSUcPBswbM9FZ5M0vSECbN/Bh7EOoVJYYWD3ilGFK0ApjTNNqsB40nefwpEa+eRz U90ogNwlLPmKWfQGKq9wr0TDKbOF8bbfG4wZEOkbJ+LA5H0LbPvjdH60Xy01zNp0oSCJ Cye+bpNr7SEGsybUCP97cH3b6sZvn1WDvNOQMLghAquG892/bHDaXD0Eu4yabV/sJXH2 PRLQ93VbvmdeN5CrHkFHnq9Iq+a9fdENtTtM7g8DRQOavhpuVcCQ0oOYONJz5ZpMqRSl NWxQ==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hello,
having space separated string of words, how to nicely rotate the words
in it? So:
word1 word2 word3
becomes:
word3 word1 word2
and so on?
Best regards,
Sebastian Gniazdowski
Messages sorted by:
Reverse Date,
Date,
Thread,
Author