From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <20150930062619.6E8311103CEE@mac.korb> References: <20150930062619.6E8311103CEE@mac.korb> From: Alexander Kapshuk Date: Wed, 30 Sep 2015 09:39:53 +0300 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] Replacement for find Topicbox-Message-UUID: 6cbcb6ac-ead9-11e9-9d60-3106f5b1d025 On Wed, Sep 30, 2015 at 9:26 AM, Wolfgang Helbig wrote: > 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 > One way is, du -a | sed '/blabla.java$/!d; s/.* //'