help-bash
[Top][All Lists]
Advanced

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

do arguments get expanded by right to left ?


From: Alex fxmbsw7 Ratchev
Subject: do arguments get expanded by right to left ?
Date: Tue, 9 Mar 2021 19:18:20 +0100

as, i did an alias +time that does plustime+=( $EPOCHREALTIME ) ( with an
ending space )
and an alias time% to parse differency of two pairs of those times
if i +time ; sleep 1 ; +time time% it displays it around 1s
if i +time +time time% it displays me stuff like  5.29289e-05  and
4.60148e-05
does it just mean the second +time is as is serial on the line processed
gets expanded first ( the var inside the definition )
or how should i decypher this ?
i dunno to read those e values


reply via email to

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