summaryrefslogtreecommitdiff
path: root/yaksh/bash_files/sample2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/bash_files/sample2.sh')
-rwxr-xr-xyaksh/bash_files/sample2.sh2
1 files changed, 2 insertions, 0 deletions
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