Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b2cb3fa

Browse files
author
Ankam Ravi Kumar
authored
Create shiftparameters.sh
1 parent 9961980 commit b2cb3fa

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

shiftparameters.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
#Purpose: Shifting positional parameters automatically
3+
#Version:1.0
4+
#Website: https://arkit.co.in
5+
#Created Date: Tue May 22 22:55:50 IST 2018
6+
#Modified Date:
7+
#Author: Ankam Ravi Kumar
8+
# START #
9+
set `date`
10+
echo "Count $#"
11+
echo "$1 $2 $3 $4 $5"
12+
shift 2
13+
echo "$1 $2 $3 $4 $5"
14+
# END #

0 commit comments

Comments
 (0)