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/