Question: Unix Write a script called positional.sh that would accomplish the tasks below: a. Set the positional parameters to be the output of the date b.
Unix
Write a script called positional.sh that would accomplish the tasks below:
a. Set the positional parameters to be the output of the date b. Display the list of positional parameters c. Display a message in the format ##today is
Your script must accept the file whodb as argument
##############################################
I have this so far
#script="./postitional.sh" #!/bin/sh #Purpose: This Script is used to set positional parameters.
echo $1 echo "today is WEEKDAY, the DAYth of YEAR" | sed 's/WEEKDAY/'$1'/g' | sed 's/DAY/'$2'/g' | sed 's/YEAR/'$3'/g'
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
