From 4a26e01aedbbee2092a0d3c547cb2061d2305a6d Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Tue, 11 Dec 2007 10:24:56 -0800 Subject: implement "pipe" commands as functions --- scripts/count | 4 ---- scripts/match | 4 ---- scripts/no-match | 4 ---- scripts/no-more | 4 ---- 4 files changed, 16 deletions(-) delete mode 100755 scripts/count delete mode 100755 scripts/match delete mode 100755 scripts/no-match delete mode 100755 scripts/no-more (limited to 'scripts') diff --git a/scripts/count b/scripts/count deleted file mode 100755 index 1ab3796..0000000 --- a/scripts/count +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -wc -l "$@" - diff --git a/scripts/match b/scripts/match deleted file mode 100755 index c452824..0000000 --- a/scripts/match +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -grep -E -e "$@" - diff --git a/scripts/no-match b/scripts/no-match deleted file mode 100755 index 528d80c..0000000 --- a/scripts/no-match +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -grep -E -v -e "$@" - diff --git a/scripts/no-more b/scripts/no-more deleted file mode 100755 index 59f51e8..0000000 --- a/scripts/no-more +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -cat "$@" - -- cgit v1.2.3