2021-09-10 22:46:26 +0100, Stephane Chazelas via austin-group-l at The Open 
Group:
[...]
> I've personally used the feature to reorder items in sets, so
> would object to precluding reusing arguments.
[...]

As mentioned on that mailing list and it's still undocumented,
-r can be used with print -f to disable reuse:

~$ print -f '%2$s %1$s\n' -- {1..6}
2 1
4 3
6 5
~$ print -rf '%2$s %1$s\n' -- {1..6}
2 1

-- 
Stephane

    • Re: Adding %n$... Joerg Schilling via austin-group-l at The Open Group
      • Re: Adding... Harald van Dijk via austin-group-l at The Open Group
        • Re: Ad... Joerg Schilling via austin-group-l at The Open Group
          • Re... Harald van Dijk via austin-group-l at The Open Group
            • ... Joerg Schilling via austin-group-l at The Open Group
              • ... Harald van Dijk via austin-group-l at The Open Group
              • ... Joerg Schilling via austin-group-l at The Open Group
              • ... Stephane Chazelas via austin-group-l at The Open Group
              • ... Joerg Schilling via austin-group-l at The Open Group
              • ... Stephane Chazelas via austin-group-l at The Open Group
              • ... Stephane Chazelas via austin-group-l at The Open Group
              • ... Joerg Schilling via austin-group-l at The Open Group
              • ... Stephane Chazelas via austin-group-l at The Open Group
  • Re: Adding %n$ conv... Robert Elz via austin-group-l at The Open Group
  • Re: Adding %n$ conv... Don Cragun via austin-group-l at The Open Group

Reply via email to