diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2007-12-10 18:56:21 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2007-12-10 18:56:21 -0800 |
commit | 688433f5c3da09c9de19fec8d6217764bb5a036c (patch) | |
tree | ec1b5e77872e26640d39cf740774ee430806e0ab /scripts | |
parent | f6ec442f339611df91a79c770483d0e6b13566ff (diff) | |
download | vyatta-op-688433f5c3da09c9de19fec8d6217764bb5a036c.tar.gz vyatta-op-688433f5c3da09c9de19fec8d6217764bb5a036c.zip |
add wrappers/symlinks for pipe commands (wrappers are needed for command
matching in restricted modes).
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/count | 4 | ||||
-rwxr-xr-x | scripts/match | 4 | ||||
-rwxr-xr-x | scripts/no-match | 4 | ||||
-rwxr-xr-x | scripts/no-more | 4 |
4 files changed, 16 insertions, 0 deletions
diff --git a/scripts/count b/scripts/count new file mode 100755 index 0000000..1ab3796 --- /dev/null +++ b/scripts/count @@ -0,0 +1,4 @@ +#!/bin/bash + +wc -l "$@" + diff --git a/scripts/match b/scripts/match new file mode 100755 index 0000000..c452824 --- /dev/null +++ b/scripts/match @@ -0,0 +1,4 @@ +#!/bin/bash + +grep -E -e "$@" + diff --git a/scripts/no-match b/scripts/no-match new file mode 100755 index 0000000..528d80c --- /dev/null +++ b/scripts/no-match @@ -0,0 +1,4 @@ +#!/bin/bash + +grep -E -v -e "$@" + diff --git a/scripts/no-more b/scripts/no-more new file mode 100755 index 0000000..59f51e8 --- /dev/null +++ b/scripts/no-more @@ -0,0 +1,4 @@ +#!/bin/bash + +cat "$@" + |