[9fans] Replacement for find

2015-09-29 Thread Wolfgang Helbig
Hello 9fans, in Unix I use find() like $ ed `find . -name blabla.java` to edit a file in a deeply nested directory. How would you accomplish this with commands from plan9 for user space? Greetings, Wolfgang Helbig

Re: [9fans] Replacement for find

2015-09-30 Thread Wolfgang Helbig
Thanks for your answers! But I consider it ugly, to ask for the disk usage if you just want to recursively list all files. And then, the man page for du(1) is missing from the distribution http://github.com/9fans/plan9port If found one in the book "Plan9 the Manuals", snd edition. But nei

Re: [9fans] Replacement for find

2015-09-30 Thread Wolfgang Helbig
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! The command du(1) from the second edition of plan9 only has two command line options (-a and -b size), whereas du(1) from http

Re: [9fans] Replacement for find

2015-09-30 Thread Wolfgang Helbig
Both of them exactly fill the gap! Thank you for all your insidefull discussions. Wolfgang > Am 30.09.2015 um 11:58 schrieb Aram Hăvărneanu : > > https://swtch.com/lsr.c > https://github.com/4ad/mgk.ro/blob/master/cmd/lsr/lsr.go > > -- > Aram Hăvărneanu >

Re: [9fans] Replacement for find

2015-09-30 Thread Wolfgang Helbig
Where can I read more about the “shells quoting convention”. What are those quoting convention? And about which shell are we talking here. Plan 9s rc(1) or Unix shells? I downloaded lsr.c from https://swtch.com/lsr.c, compiled it: % 9c lsr.c % ls lsr.c lsr.o linked it: % 9l lsr.o % ls a.out lsr.c