all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How can I customize this repetive edit?
@ 2004-01-22 20:36 exits funnel
  0 siblings, 0 replies; 5+ messages in thread
From: exits funnel @ 2004-01-22 20:36 UTC (permalink / raw)


Hello,

I have a text file which contains a coupld of hundred
lines which look like this:

>foo   EAL_FOO

I need them to look like this:

>  EAL_FOO="foo";

Note that '>' is not part of the line but included to
denote the beginning of the line (ie, the foo in the
first example is flush with the beginning of the line
while line in the second example starts with two
spaces.  Also note the EAL_ is fixed but foo can take
any value though the case of foo and FOO respectively
will always adhere to the pattern in the example.  

I really don't want to make all these changes by hand.
 I'm pretty new to EMACS but it seems this should be
doable (everything else is :) ).  If anyone could
point me in the right direction I'd really appreciate
it.

-exits

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-01-23 17:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1171.1074804795.928.help-gnu-emacs@gnu.org>
2004-01-22 21:12 ` How can I customize this repetive edit? Chris McMahan
2004-01-22 21:37   ` Johan Bockgård
2004-01-22 22:49 ` Stefan Monnier
2004-01-23 17:12   ` Jeff
2004-01-22 20:36 exits funnel

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.