summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/count4
-rwxr-xr-xscripts/match4
-rwxr-xr-xscripts/no-match4
-rwxr-xr-xscripts/no-more4
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 "$@"
+