help-bash
[Top][All Lists]
Advanced

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

Re: is there a way to reverse list $@


From: #!microsuxx
Subject: Re: is there a way to reverse list $@
Date: Thu, 24 Oct 2024 00:57:02 +0200

i forgot to paste the bash error i got

bash: -4: substring expression < 0

i say , take in conderisation , to existancy check
in ${@ : one : two }
one and till two , then if existing dont error
even dont error at all ?

On Thu, Oct 24, 2024, 00:54 #!microsuxx <fxmbsw7@gmail.com> wrote:

> i tried ${@:$#:-4} where 5 args and the last four in reverse order are
> wanted
> if not i do in awk
>


reply via email to

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