help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bash native command to reverse the order of most basic parameter


From: Budi
Subject: Bash native command to reverse the order of most basic parameter
Date: Wed, 27 Jul 2022 08:50:05 +0700

How the Bash native command to reverse the order of native bash
parameter loop illustrated:
Code:
$ foo() {
 for i ;{ printf "%d\n" $i; }   # ? what is solution
}
not to be
Code:
$ foo 7 8 9
7
8
9
instead must do

Code:
$ foo 7 8 9
9
8
7



reply via email to

[Prev in Thread] Current Thread [Next in Thread]