[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch #6474] Issue warning if recursively searching stdin
From: |
Jonathan Hartley |
Subject: |
[patch #6474] Issue warning if recursively searching stdin |
Date: |
Tue, 20 Mar 2012 19:54:29 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:11.0) Gecko/20100101 Firefox/11.0 |
Follow-up Comment #4, patch #6474 (project grep):
Interesting idea, thanks Eric. Unfortunately, my bash-fu is not sufficient to
fill in the ellipsis. My understanding is that the alias would have to be such
that it expands the command-line:
$ grp XXX
into
GREP_OPTIONS='--exclude-dir ...'; grep XXX; unset GREP_OPTIONS'
Is this remotely right? How do I get 'XXX' (what I typed on the command line
after my alias) to appear in the middle of the alias, rather than after it?
The answer 'go read man bash' is not entirely unappropriate, if you are fairly
sure it can be done.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?6474>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/