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.args | 1 + yaksh/bash_files/sample2.sh | 2 ++ 2 files changed, 3 insertions(+) create mode 100755 yaksh/bash_files/sample2.args create mode 100755 yaksh/bash_files/sample2.sh (limited to 'yaksh/bash_files') diff --git a/yaksh/bash_files/sample2.args b/yaksh/bash_files/sample2.args new file mode 100755 index 0000000..cf4499d --- /dev/null +++ b/yaksh/bash_files/sample2.args @@ -0,0 +1 @@ +file1.csv file2.csv file3.csv 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