From e8769f5d8c43ee7c2655133b676ae53d2987c79c Mon Sep 17 00:00:00 2001 From: adityacp Date: Fri, 26 Aug 2016 11:34:11 +0530 Subject: added bash script for bash demo question --- yaksh/bash_files/sample2.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 yaksh/bash_files/sample2.sh (limited to 'yaksh/bash_files/sample2.sh') diff --git a/yaksh/bash_files/sample2.sh b/yaksh/bash_files/sample2.sh new file mode 100755 index 0000000..5dc55b8 --- /dev/null +++ b/yaksh/bash_files/sample2.sh @@ -0,0 +1,2 @@ +#!/bin/bash +cat $1 | cut -d: -f2 | paste -d: $3 - $2 -- cgit