> 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