From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3BC57FE4.FB90533@strakt.com> From: Boyd Roberts MIME-Version: 1.0 To: 9fans@cse.psu.edu Subject: Re: [9fans] /acme/edit References: <20011011101952.6D28719A4D@mail.cse.psu.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 11 Oct 2001 13:17:56 +0200 Topicbox-Message-UUID: 05e06122-eaca-11e9-9e20-41e7f4b1d025 rog@vitanuova.com wrote: > ... so learning sam is probably the best course of > action! (it's well worth it IMO, as it's very powerful, and also > useful to use along with "sam -d" to make changes across many files at > once.) #!/bin/sh # fido # # A sam command to find files that contain a string/regex. # B "`type $0 | awk '{print $3}'`" exit X/^../,x/^.*\n/g/^.*STRING.*\n/{ f p }