Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

loop over shell parameters

while (( $# > 0 ))    # or [ $# -gt 0 ]
do
    echo "$1"
    shift
done
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #loop #shell #parameters
ADD COMMENT
Topic
Name
8+7 =