From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <2dbef77b03e145df443c861f471f434b@quintile.net> From: "Steve Simon" Date: Wed, 30 Sep 2015 11:07:41 +0100 To: 9fans@9fans.net In-Reply-To: <5F9B8349-6B7F-4213-84FF-50D65B5159E6@mailbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Replacement for find Topicbox-Message-UUID: 6d932bd8-ead9-11e9-9d60-3106f5b1d025 > In Plan 9 a command is needed, that lists recursively all files. > Not more and not less. > The du(1) command offers too much. > I do not want to list the disk usage! I don't feel this need, though you obviously do. You could try: #!/bin/rc du $* | while(s=`{read}) echo $2 NB: don't use sed or awk, they don't understand the shells quoting convention for filenames containing frogs. Re: usage Rather than doing B `{find . --name '*.[ch]' --print} I do this: du -a | grep '\.[ch]$' find the file I am interested in in the list and plumb it, I guess its just personal taste. Plan9 is different and somtimes it needs a different approach. -Steve