Subject: Re: "yes" curiousity
To: Michael G. Schabert <mikeride@prez.org>
From: Lennart Augustsson <lennart@augustsson.net>
List: port-alpha
Date: 06/23/1999 11:06:49
"Michael G. Schabert" wrote:

> [This is general NetBSD, & not alpha specific]
>
> Hi guys,
> As I was doing a make build, I happened to watch as it was doing stuff in
> /usr/src/usr.bin...& was curious when I saw this thing called "yes". So I
> read the manpage. When I read it, I thought to myself "now that seems
> really stupid. Why would anyone want to do that?" So, being the
> sometimes-adventurous sort, I went ahead and typed "yes".
>
> That brings me full circle to my original thought...that seems awfully
> stupid. Why would anyone want to do that?

I've used it many times, and I appreciate it. :-)

Here's an example (from memory) using it with adb when you want a long
trace of instructions to stare at:

  yes :s | adb foo

I'm not sure I've ever used it with the default output.

    -- Lennart