Skip to content

Commit 686f600

Browse files
author
Ankam Ravi Kumar
authored
Update countargs.sh
1 parent 9df7b4c commit 686f600

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

countargs.sh

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
#!/bin/bash
2-
#Purpose: Counting given postional parameters.
3-
#Version:1.0
4-
#Created Date: Mon May 7 21:55:05 IST 2018
5-
#Modified Date:
6-
#Author: Ankam Ravi Kumar
2+
##################################################
3+
# Purpose: Counting given postional parameters.
4+
# Version:1.0
5+
# Created Date: Mon May 7 21:55:05 IST 2018
6+
# Modified Date:
7+
# Author: Ankam Ravi Kumar
8+
##################################################
9+
710
# START #
8-
#echo "Your current given parameters are $#"
11+
echo "Your current given parameters are $#"
912
if [ $# -lt 1 ];then
1013
echo "Program Usage is './scriptname.sh' options"
1114
else
1215
echo "Program executed successfully"
1316
fi
14-
1517
# END #

0 commit comments

Comments
 (0)