Answers for "linux shell loop through all inputs except last"

0

linux shell loop through all inputs except last

for x in "${@:1:$# - 1}" ; do 
    echo do something with "$x"
done
Posted by: Guest on May-30-2020

Code answers related to "linux shell loop through all inputs except last"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language