bug-grep
[Top][All Lists]
Advanced

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

Output only line number


From: PurdueHassen
Subject: Output only line number
Date: Tue, 31 Oct 2006 11:54:52 -0800 (PST)

Is it possible to have grep output the line number without returning any data
in the line containing a match?  In other words, we have confidential data
which we are searching for and would only like to have grep return just the
line number to reduce the number of places this data appears.
-- 
View this message in context: 
http://www.nabble.com/Output-only-line-number-tf2548001.html#a7101347
Sent from the Gnu - Grep mailing list archive at Nabble.com.





reply via email to

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