bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Grep -A -m and two following matches


From: Jori Mantysalo
Subject: Grep -A -m and two following matches
Date: Fri, 3 Oct 2003 09:56:54 +0300 (EEST)

address@hidden jori]$ echo -e 'a\nb\nc\nd' | grep -A 1 -m 1 b
b
c
address@hidden jori]$ echo -e 'a\nb\nb\nd' | grep -A 1 -m 1 b
b

A bug?

-- 
Jori Mäntysalo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]