Subject: Re: This has GOT to be a bug in ksh...
To: NetBSD User's Discussion List <netbsd-users@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: netbsd-users
Date: 06/17/2002 14:53:44
[ On Monday, June 17, 2002 at 10:38:51 (-0700), Daniel Mercer wrote: ]
> Subject: Re: This has GOT to be a bug in ksh...
>
> Why won't:
>
> find . -type f| cat
>
> work?
In that case why add the overhead of "| cat"? :-)
> It seems to provide the same results as reading from stdin
> and echoing to stdout.
>
> Clearly, I'm missing something. =)
I think the point is to demonstrate a coding technique. The "echo
$file" is merely an example command -- any other command or list of
commands could take its place to do something more sophisticated with
the files. :-)
--
Greg A. Woods
+1 416 218-0098; <gwoods@acm.org>; <g.a.woods@ieee.org>; <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>