diff options
author | Bernhard Rosenkraenzer <bero@arklinux.org> | 2001-11-19 13:23:29 +0000 |
---|---|---|
committer | Bernhard Rosenkraenzer <bero@arklinux.org> | 2001-11-19 13:23:29 +0000 |
commit | f6e68a1c2efaec7d4e7474cd06c2638f8779fe74 (patch) | |
tree | 10fb7422e1c5ad7bd81d2d6b0b47ecb2c67b05b5 /tests | |
parent | f7ceb1457ce775d561f60ba5964f96e1db3d3ac1 (diff) | |
download | grep-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-x | tests/backref.sh | 2 | ||||
-rw-r--r-- | tests/bre.sh | 2 | ||||
-rw-r--r-- | tests/empty.sh | 2 | ||||
-rw-r--r-- | tests/ere.sh | 2 | ||||
-rwxr-xr-x | tests/file.sh | 2 | ||||
-rw-r--r-- | tests/khadafy.sh | 2 | ||||
-rw-r--r-- | tests/options.sh | 2 | ||||
-rw-r--r-- | tests/spencer1.sh | 2 | ||||
-rw-r--r-- | tests/spencer2.sh | 2 | ||||
-rw-r--r-- | tests/status.sh | 2 | ||||
-rw-r--r-- | tests/warning.sh | 2 |
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. |