[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#68592: Grep 3.1 does not recognize regex beginning-of-line and end-o
From: |
Erich Wolz |
Subject: |
bug#68592: Grep 3.1 does not recognize regex beginning-of-line and end-of-line anchors (^ and $). on RHEL 8.9 |
Date: |
Fri, 19 Jan 2024 18:43:18 +0000 |
Steps to reproduce:
1) create a file containing the following lines:
foo bar baz
bar foo baz
baz foo bar
bar baz foo
foo baz bar
baz bar foo
2) The command "grep '.*bar$' filename1" should find the two lines ending in
"bar" but it does not.
3) create a file containing the following lines:
foo
foo bar
baz foo
foo bar baz
baz bar foo
4) The command "grep '^foo$' filename2" should find only the first line but it
does not.
Erich W. Wolz (wolz @ us.ibm.com), Senior IT Specialist
IBM Consulting - US Federal
12301 Kurland Dr., Houston, TX 77034-4812
Phone: 713-797-4645
- bug#68592: Grep 3.1 does not recognize regex beginning-of-line and end-of-line anchors (^ and $). on RHEL 8.9,
Erich Wolz <=