The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Get Filename and Line Number using grep
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Get Filename and Line Number using grep
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
09-11-2007
kahuna
Registered User
Join Date: Apr 2007
Posts: 149
It's a bit of a kluge, but try
Code:
grep -nf test.txt /dev/null '{}' \;
kahuna
View Public Profile
Find all posts by kahuna
Find kahuna's past nominations received
Find kahuna's present nominations given