You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
362 B
Bash

#!/usr/bin/env bash
#
# $@ represents all of a scripts arguments and is useful to passing them to a command inside the script.
#
#
VALUES=$@
echo The args are: $@
echo Storing a copy in VALUES
# -e enables interpretation of backslash escapes
echo -e "\nLets loop through our list of arguments"
for value in $@; do
echo The current argument is: $value
done