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: Subject: Re: [geda-user] Searching for refdes's having a specific attribute? References: <568F9808 DOT 5040808 AT envinsci DOT co DOT uk> <5693D1A8 DOT 2040703 AT iee DOT org> Date: Tue, 12 Jan 2016 08:24:28 +0100 In-Reply-To: (Roland Lutz's message of "Tue, 12 Jan 2016 02:15:03 +0100 (CET)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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 Roland Lutz 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