Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > gnu.utils.bug > #2248

found bug

Path csiph.com!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.unit0.net!takemy.news.telefonica.de!telefonica.de!newsfeed.esat.net!171.64.64.130.MISMATCH!usenet.stanford.edu!not-for-mail
From Karl Riauba <kriauba.cont@mz.com>
Newsgroups gnu.utils.bug
Subject found bug
Date Wed, 22 Aug 2018 16:32:03 -0700
Lines 43
Approved bug-gnu-utils@gnu.org
Message-ID <mailman.5434.1534987585.1292.bug-gnu-utils@gnu.org> (permalink)
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Trace usenet.stanford.edu 1534987586 17930 208.118.235.17 (23 Aug 2018 01:26:26 GMT)
X-Complaints-To action@cs.stanford.edu
To bug-gnu-utils@gnu.org
Envelope-to bug-gnu-utils@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=mz.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=Rn4ivI8lZC5AAOt0ebFqb92o2nM4BhzjeX+IqluM+aQ=; b=ZGa0EcqGBJ+Tku/DLyG3eYmvT6TMw/ygXFgMHs4eYw8gpBoIPZvDecdSwwLlYdOu62 kSR/OvO2ZmMDAsXdBv7IzKAPolQEAnTrNJ8QbiVQ9UhB506KAoXA5DYHEdXcZitb7kDS ihSwAVoGan2nThOyhCH0+Z/FIbl8P/FsK2Pd0=
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Rn4ivI8lZC5AAOt0ebFqb92o2nM4BhzjeX+IqluM+aQ=; b=XoRmhIVsx32mgxJ/9la/yktrTwMK9gPNhhJPHDsZC6bJVKwL/oSUgL9cx+WmtrAugh A0N5BnLHN/pJ0DAfUKqrNnLdCcwUHjvVNaKQMDJOdCgNqMgY3H6Q+fLtLs+mpnQ1Lm+e nwWs+fIiu/6ndUAX4z0EaQIfikIYSWdiYILQzuISxn33OED+xFW022gSrfL/bhC/ShuZ KNtibGkx2k2Nj0nvyB/HZrUJhLYh0wrM63baHpXW5JhOdecCo4coeL64NWuXRv5gjut5 i/f88svRqhq1qHxg3wl3mbbhbQHCqhXU1Gg6XO1W9L79q18+ZWFEr3OJ3OSyN50TNUUU H7bg==
X-Gm-Message-State APzg51DlJqNvRxH11bkNRZUsn15lvDoSGA7dl8zRwIRfen4ubkLNtCob 6TKSBzaYuHB3U2jK2Zd2hdHWVziSBLKpEyUS/medT+oUAwk=
X-Google-Smtp-Source ANB0VdYyt28XorCTheJxcNZfaP+DGuax+t+dWAW2dLbJJhE7lC02PJqNRK3Q07Cawq/1xY6EnVPjDdud+j81bnUiSas=
X-Received by 2002:aca:4ec6:: with SMTP id c189-v6mr6560440oib.186.1534980724291; Wed, 22 Aug 2018 16:32:04 -0700 (PDT)
X-detected-operating-system by eggs.gnu.org: Genre and OS details not recognized.
X-Received-From 2607:f8b0:4003:c06::233
X-Mailman-Approved-At Wed, 22 Aug 2018 21:26:23 -0400
X-Content-Filtered-By Mailman/MimeDel 2.1.21
X-BeenThere bug-gnu-utils@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Bug reports for the GNU utilities <bug-gnu-utils.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-gnu-utils>, <mailto:bug-gnu-utils-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-gnu-utils/>
List-Post <mailto:bug-gnu-utils@gnu.org>
List-Help <mailto:bug-gnu-utils-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-gnu-utils>, <mailto:bug-gnu-utils-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.utils.bug:2248

Show key headers only | View raw


Hi,

I think I found egrep bug.
No tabs in example file or in variable.
10.193.132.65:9102 should suppose to be filtered out, but it doesn't.

Thanks

$ echo ===$egrep===
=== 10.193.132.65:9102 | 10.193.132.65:111 | 10.193.132.65:4560 |
10.193.132.65:2800 | 10.193.132.65:4369 | 10.193.132.65:22 |
10.193.132.65:8888 | 10.193.132.65:8088 | 10.193.132.65:8089 |
10.193.132.65:38012 | 10.193.132.65:8126 | 10.193.132.65:5280 |
10.193.132.65:39073 | 10.193.132.65:8834 | 10.193.132.65:2850 |
10.193.132.65:41187 | 10.193.132.65:5285 | 10.193.132.65:9125 |
10.193.132.65:5222 | 10.193.132.65:5287 | 10.193.132.65:5223 |
10.193.132.65:35848 ===
ROOT@gamesvc-2-001.dev.qa.las1:~
$ cat egrep_bug
tcp        0      0 0.0.0.0:9102            0.0.0.0:*               LISTEN
    12160/statsd_export
tcp        0      0 0.0.0.0:9125            0.0.0.0:*               LISTEN
    12160/statsd_export
tcp        0      0 10.193.132.65:9102      10.196.128.42:46852
 ESTABLISHED 12160/statsd_export
udp        0      0 0.0.0.0:9125            0.0.0.0:*
     12160/statsd_export
unix  3      [ ]         STREAM     CONNECTED     47777
12160/statsd_export
ROOT@gamesvc-2-001.dev.qa.las1:~
$ cat egrep_bug | egrep -v "$egrep"
tcp        0      0 0.0.0.0:9102            0.0.0.0:*               LISTEN
    12160/statsd_export
tcp        0      0 0.0.0.0:9125            0.0.0.0:*               LISTEN
    12160/statsd_export
tcp        0      0 10.193.132.65:9102      10.196.128.42:46852
 ESTABLISHED 12160/statsd_export
udp        0      0 0.0.0.0:9125            0.0.0.0:*
     12160/statsd_export
unix  3      [ ]         STREAM     CONNECTED     47777
12160/statsd_export
ROOT@gamesvc-2-001.dev.qa.las1:~
$

Back to gnu.utils.bug | Previous | Next | Find similar


Thread

found bug Karl Riauba <kriauba.cont@mz.com> - 2018-08-22 16:32 -0700

csiph-web