From b2cb3fa8bab20a9464713aabea6f7e9a98c342ea Mon Sep 17 00:00:00 2001 From: Ankam Ravi Kumar Date: Sat, 16 Jun 2018 17:45:49 +0530 Subject: [PATCH] Create shiftparameters.sh --- shiftparameters.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 shiftparameters.sh diff --git a/shiftparameters.sh b/shiftparameters.sh new file mode 100644 index 0000000..5a825da --- /dev/null +++ b/shiftparameters.sh @@ -0,0 +1,14 @@ +#!/bin/bash +#Purpose: Shifting positional parameters automatically +#Version:1.0 +#Website: https://arkit.co.in +#Created Date: Tue May 22 22:55:50 IST 2018 +#Modified Date: +#Author: Ankam Ravi Kumar +# START # +set `date` +echo "Count $#" +echo "$1 $2 $3 $4 $5" +shift 2 +echo "$1 $2 $3 $4 $5" +# END #