[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #19337] Whish: Include Option to view first line of file/stream
From: |
Tony Abou-Assaleh |
Subject: |
[bug #19337] Whish: Include Option to view first line of file/stream |
Date: |
Sun, 18 Mar 2007 14:03:53 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.10) Gecko/20070216 Firefox/1.5.0.10 |
Follow-up Comment #1, bug #19337 (project grep):
The utitility 'head' provides the desired functionality. For example, The
desired output from
$ ps aux | grep --head foo
can be achieved using:
ps aux | head -1; ps aux | grep foo
Other shell controls can be used in combination with head to achieve this
functionality when searching multiple files.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?19337>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/