* It was Wed, Jul 07, 2004 at 10:57:18AM -0700 when Gary Johnson said:
> On 2004-07-08, Joshua Crawford <mortarn_lists@xxxxxxxxxxxx> wrote:
> > * Ionel Mugurel Ciobica <tgakic@xxxxxxxxxxx> [2004-07-07 16:27 +0200]:
>
> > > And lets face it, space in
> > > filename is a windows feature.
> >
> > This I can't agree with. I, as a Linux user, use spaces myself where
> > appropriate, and was doing so on UNIX (SunOS) years before Windows95 was
> > released.
>
> Don't you find that spaces in file names make it difficult to use a
> lot of common Unix tools? For example, this will try to execute
> grep on each word of each file name containing spaces.
>
> find . -type f | xargs grep something
Additionally, for any zsh users making use of concise for loops you can
just do this:
% for f (**/*(.)) grep something $f
It does the same thing. ** recurses subdirectories for all files and the
(.) at the end specifies to only list regular files.
--
Sami Samhuri
Attachment:
pgpG9SSaXDD1Z.pgp
Description: PGP signature