delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
From: | geda AT psjt DOT org (Stephan =?utf-8?Q?B=C3=B6ttcher?=) |
To: | <geda-user AT delorie DOT com> |
Subject: | Re: [geda-user] Searching for refdes's having a specific attribute? |
References: | <568F9808 DOT 5040808 AT envinsci DOT co DOT uk> |
<alpine DOT DEB DOT 2 DOT 11 DOT 1601111626180 DOT 4406 AT nimbus> <5693D1A8 DOT 2040703 AT iee DOT org> | |
<alpine DOT DEB DOT 2 DOT 11 DOT 1601111825530 DOT 6536 AT nimbus> | |
Date: | Tue, 12 Jan 2016 08:24:28 +0100 |
In-Reply-To: | <alpine.DEB.2.11.1601111825530.6536@nimbus> (Roland Lutz's |
message of "Tue, 12 Jan 2016 02:15:03 +0100 (CET)") | |
Message-ID: | <s6n37u345w3.fsf@blaulicht.dmz.brux> |
User-Agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
MIME-Version: | 1.0 |
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 |
Roland Lutz <rlutz AT hedmen DOT org> writes: > On Mon, 11 Jan 2016, M. J. Everitt (m DOT j DOT everitt AT iee DOT org) [via > geda-user AT delorie DOT com] wrote: >> I commend your python, but I fear it's beyond the reach of the >> average user who wants a 2 minute solution!! > > I don't know about you, but for me, this is more efficient than > putting together an awk command line. Especially considering these > are prone to subtle errors (remember the first example posted which > silently mixes up refdes). Why re-invent the wheel with a > general-purpose tool when a library is readily available which does > exactly what you want? Because practicing your awk/sed/grep/xargs foo will help you with tons of daily little tasks down the road Just resists the temptation to save or post those comamndlines somewhere. When a workflow warrant saving a script, xorn is a very nice and robust solution, thank you! That is not a 2 minute solution. > I didn't answer this in detail with the intention to give Matt an easy > copy/paste answer. I want to give you a working starting point so you > know the available tools and can apply them to your own problems. Are this kind of example part of the documentation? -- Stephan
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |