#!/bin/bash # # The shell command `shift` can be used to remove the first argument $1 # and advance the rest of the arguments forward. $2 becomes $1, $3 becomes $2. # # Shiftex prints all three arguments by printing the first, shifting the remaining # arguments, and repeating. # # # # Print the number of arguments echo You submitted $# arguments echo Argument: $1 shift echo Argument: $1 shift echo Argument: $1