delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/01/21/13:16:15

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=x-received:from:to:cc:subject:user-agent:date:message-id
:mime-version:content-type;
bh=p1uWEt3Wuriw6rE8Jg+Ab3oaWvLvdNKsb/qzomQXwfw=;
b=hnacmn/jtT1Wk9wPGpsgqF9mcegOBEaRpEqYPx3LHfFIOFao3Mscdl+JXtqujyb8Q+
R5ezmG59ZFXusYjsVLNeFGUrGUo/X/lkb9fqhpf7nL0vSn/Qbs3hB75el3YllBp8Vmen
C1vLjNm4sIjhGj9Xb/tJbNvTgvjIsMRyHPEHeNvW9AIqVoqL6irXVAVRMh40ZPEzWB87
K2F+sf7R440VKN42qAJXp9S5yAwQxiGjki+D7PkmkQTcVhan36QxR6xmqVIo6LnYfJC3
B191sEmKOwsISS7O6GTSVsg3v8L+kfBAcKTMGbt2F4zSS/I5aKqcKj4kLIKUzQhlbL4O
P/VA==
X-Received: by 10.52.175.163 with SMTP id cb3mr17802729vdc.76.1358792117362;
Mon, 21 Jan 2013 10:15:17 -0800 (PST)
From: Ben Gamari <bgamari DOT foss AT gmail DOT com>
To: geda-user AT delorie DOT com
Cc: Peter Clifton <pcjc2 AT cam DOT ac DOT uk>
Subject: [geda-user] Git repository for sedrename
User-Agent: Notmuch/0.15+12~gbc79d6e (http://notmuchmail.org) Emacs/23.4.1 (x86_64-pc-linux-gnu)
Date: Mon, 21 Jan 2013 13:15:15 -0500
Message-ID: <87hamaz9l8.fsf@gmail.com>
MIME-Version: 1.0
Reply-To: geda-user AT delorie DOT com

Relatively recently I stumbled upon Peter Clifton's sedrename plugin for
pcb which he brought to the geda-dev list sometime in 2008. Sadly, the
plugin had severely bit-rotted since it was introduced. Being unable to
find anyone who had brought the code up to date with the current state
of pcb, I tossed the file into a Git repository[1], ported it forward,
and wrote a hacky Makefile. In addition to a rule to build the plugin,
the Makefile also includes a simple install rule.

While I didn't change the user interface, it could probably do with some
revision. It appears that originally the intention was to pass the
regular expression as an argument to the sedrename command. Is there a
reason this was #if 0'd in favor of prompt_for()'ing?

I hope this is useful to someone. As always, pull requests are very
welcome.

Cheers,

- Ben

[1] https://github.com/bgamari/pcb-sedrename/blob/master/sedrename.c

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019