summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <bero@arklinux.org>2001-11-19 13:23:29 +0000
committerBernhard Rosenkraenzer <bero@arklinux.org>2001-11-19 13:23:29 +0000
commitf6e68a1c2efaec7d4e7474cd06c2638f8779fe74 (patch)
tree10fb7422e1c5ad7bd81d2d6b0b47ecb2c67b05b5 /tests
parentf7ceb1457ce775d561f60ba5964f96e1db3d3ac1 (diff)
downloadgrep-f6e68a1c2efaec7d4e7474cd06c2638f8779fe74.tar.gz
Add -o option
* src/grep.c: Add --only-matching (-o) switch (see NEWS) * doc/grep.texi, doc/grep.1, NEWS: Document changes
Diffstat (limited to 'tests')
-rwxr-xr-xtests/backref.sh2
-rw-r--r--tests/bre.sh2
-rw-r--r--tests/empty.sh2
-rw-r--r--tests/ere.sh2
-rwxr-xr-xtests/file.sh2
-rw-r--r--tests/khadafy.sh2
-rw-r--r--tests/options.sh2
-rw-r--r--tests/spencer1.sh2
-rw-r--r--tests/spencer2.sh2
-rw-r--r--tests/status.sh2
-rw-r--r--tests/warning.sh2
11 files changed, 11 insertions, 11 deletions
diff --git a/tests/backref.sh b/tests/backref.sh
index b87ac853..83f6dcc9 100755
--- a/tests/backref.sh
+++ b/tests/backref.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Test that backrefs are local to regex.
#
#
diff --git a/tests/bre.sh b/tests/bre.sh
index eecdd3ee..e7ccf0a0 100644
--- a/tests/bre.sh
+++ b/tests/bre.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Regression test for GNU grep.
: ${srcdir=.}
diff --git a/tests/empty.sh b/tests/empty.sh
index cae640f9..d4225fec 100644
--- a/tests/empty.sh
+++ b/tests/empty.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# test that the empty file means no pattern
# and an empty pattern means match all.
diff --git a/tests/ere.sh b/tests/ere.sh
index 5bf16952..d57e2fae 100644
--- a/tests/ere.sh
+++ b/tests/ere.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Regression test for GNU grep.
: ${srcdir=.}
diff --git a/tests/file.sh b/tests/file.sh
index c3979790..3db95bed 100755
--- a/tests/file.sh
+++ b/tests/file.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Test for POSIX.2 options for grep
#
# grep -E -f pattern_file file
diff --git a/tests/khadafy.sh b/tests/khadafy.sh
index 141b3d81..e3d2cde4 100644
--- a/tests/khadafy.sh
+++ b/tests/khadafy.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Regression test for GNU grep.
: ${srcdir=.}
diff --git a/tests/options.sh b/tests/options.sh
index 34150185..0f185297 100644
--- a/tests/options.sh
+++ b/tests/options.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Test for POSIX.2 options for grep
#
# grep [ -E| -F][ -c| -l| -q ][-insvx] -e pattern_list
diff --git a/tests/spencer1.sh b/tests/spencer1.sh
index f09b3fa9..2391761a 100644
--- a/tests/spencer1.sh
+++ b/tests/spencer1.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Regression test for GNU grep.
: ${srcdir=.}
diff --git a/tests/spencer2.sh b/tests/spencer2.sh
index 19caa8de..a26869c5 100644
--- a/tests/spencer2.sh
+++ b/tests/spencer2.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Regression test for GNU grep.
: ${srcdir=.}
diff --git a/tests/status.sh b/tests/status.sh
index 4f08b8a3..94f59294 100644
--- a/tests/status.sh
+++ b/tests/status.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Test for status code for GNU grep.
# status code
# 0 match found
diff --git a/tests/warning.sh b/tests/warning.sh
index d2dc6d5a..bfca533a 100644
--- a/tests/warning.sh
+++ b/tests/warning.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
#
# Tell them not to be alarmed.