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/



Reply via email to