Thank you (for making the ports less boring).
Stephen Montgomery-Smith
stephen at missouri.edu
Tue Sep 13 21:05:34 UTC 2011
On 09/13/2011 09:11 AM, Oliver Fromme wrote:
> Stephen Montgomery-Smith wrote:
> > particularly nasty thing to do. I get the impression that each
> > committer has his own special way of doing this. For example, I have
> > personally found that a simple grep won't work, because "grep xxx
> > /usr/ports/*/Makefile*" just creates a line too long for the shell to
> > handle. I use a shell construction involving "find" but I wonder how
> > others do the same thing.
>
> cd /usr/ports
> echo */*/Makefile* | xargs grep xxx
That's amazing.
It would never have occurred to me that "echo */*/Makefile*" works when
"grep xxx */*/Makefile*". Is that because "echo" is a builtin command
in csh (which is what I use)? I notice "/bin/echo */*/Makefile*"
doesn't work.
Is this documented somewhere?
More information about the freebsd-ports
mailing list