
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tlug] print grep results to file
- Date: Mon, 05 Jan 2004 13:31:28 +0900 (JST)
- From: Charles Muller <acmuller@example.com>
- Subject: [tlug] print grep results to file
I want to search a directory of files, retrieve the lines that contain
"<hdwd>" and print them to a file. I tried to do it with this:
dell@[chuck] # grep "<hdwd>" *.xml -print > /home/chuck/headwords.txt
...but I am missing something. I googled around a bit to try to find
some sort of example for this, but so far, no luck. Any suggestions?
Thanks,
Chuck  
---------------------------
Toyo Gakuen University
Faculty of Humanities  
1660 Hiregasaki, Nagareyama-shi
Chiba 270-0161 JAPAN
Web Site: Resources for East Asian Language and Thought
http://www.acmuller.net
<acmuller@example.com>
Home |
Main Index |
Thread Index