X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-TCPREMOTEIP: 18.111.45.112 X-Authenticated-UID: jpd AT noqsi DOT com Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: [geda-user] Improved Find From: John Doty In-Reply-To: Date: Mon, 3 Aug 2015 15:36:34 -0400 Message-Id: <36BEC214-718C-4294-A47D-543C36B92BE8@noqsi.com> References: <5329D15C-0713-4919-8205-AC474BAC5652 AT noqsi DOT com> <631C0577-E61D-40BC-B200-96BA897092E6 AT sbcglobal DOT net> <5E2BB4CD-4E81-45DE-80E0-5CAFE9D85ECC AT sbcglobal DOT net> <85912337-3BB5-4595-8FDD-3259535038C3 AT noqsi DOT com> To: geda-user AT delorie DOT com X-Mailer: Apple Mail (2.1878.6) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t73Jafdg012791 Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Aug 3, 2015, at 1:43 PM, Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > On Mon, Aug 3, 2015 at 4:07 AM, John Doty wrote: >> >> On Aug 2, 2015, at 6:15 PM, Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: >> >>> It would be nice if find was somehow able to find everything in the dir at >>> least, at least as an option. Lots of editors fail at this and its annoying. >> >> I often find myself typing things like “cat Video.*.sch | grep refdes=C | sort” to a shell. There are probably a thousand such useful shell one-liners involvi > > Me too. And its annoying. Note that what you're doing here is just a simple > search. That's what you want most of the time, so it's worth incorporating > it as a feature. When using vim, do you do the above, or do you /whatever? That’s not a simple search that you can do with /whatever. Select a specific subset of files, search, and sort results. > >> ng grep, cat, sort, wc, and uniq on geda-gaf files. A million if you throw in sed and awk. Hurray for a simple file format! > > I think no one is proposing changing the format, the question is whether some > form of global search is worth having in gschem. Simple, like /whatever, is fine. It’s when it becomes encumbered with too many “smarts” that it gets to be more confusing than it’s worth. > I would say definitely yes, > provided its graceful enough that it can work for search or just navigation. > > Britton > > John Doty Noqsi Aerospace, Ltd. http://www.noqsi.com/ jpd AT noqsi DOT com