Update countargs.sh

This commit is contained in:
Ankam Ravi Kumar
2019-02-21 16:04:37 +05:30
committed by GitHub
parent 9df7b4c92a
commit 686f600e55

View File

@ -1,15 +1,17 @@
#!/bin/bash
#Purpose: Counting given postional parameters.
#Version:1.0
#Created Date: Mon May 7 21:55:05 IST 2018
#Modified Date:
#Author: Ankam Ravi Kumar
##################################################
# Purpose: Counting given postional parameters.
# Version:1.0
# Created Date: Mon May 7 21:55:05 IST 2018
# Modified Date:
# Author: Ankam Ravi Kumar
##################################################
# START #
#echo "Your current given parameters are $#"
echo "Your current given parameters are $#"
if [ $# -lt 1 ];then
echo "Program Usage is './scriptname.sh' options"
else
echo "Program executed successfully"
fi
# END #