From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <008d01c34475$616cf9a0$d2944251@insultant.net> From: "boyd, rounin" To: <9fans@cse.psu.edu> References: <3F07C5D3.7030808@null.net> Subject: Re: [9fans] 'find' MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit Date: Mon, 7 Jul 2003 12:49:03 +0200 Topicbox-Message-UUID: eb096bb2-eacb-11e9-9e20-41e7f4b1d025 > What's wrong with grep pattern foo is that it acts differently > from grep pattern foo1 foo2. Whether or not the filename is > displayed as a prefix should be controlled by a command option, > not by how many file arguments there are. perhaps there should be an option, but i think the way it works at the moment is more useful. of course, if run from xargs: ... | xargs grep foo /dev/null does the same and adds no extra code to grep. but you [doug] knew that anyway.