help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

replacement with variable


From: Bryan W. Lepore
Subject: replacement with variable
Date: Mon, 20 Aug 2001 20:40:45 -0400

Is there a way to get _emacs_ to replace a field with a variable, such
that it is incremented by 1 each time?  The example is...

file.aa.foo >>> emacs >>> file.1.foo   (or file.01.foo )
file.bb.foo >>> emacs >>> file.2.foo   (or file.02.foo )
file.cc.foo >>> emacs >>> file.3.foo   (or file.03.foo )
....
file.nn.foo >>> emacs >>> file.10.foo

-Bryan

___________________________________________________________________________

Bryan Lepore
Brandeis University
Petsko/Ringe Laboratory
Rosenstiel Basic Medical Sciences Research Center
Floor Six
MS029
Waltham, MA 02454
Lab: 781-736-4925
Fax: 781-736-2405
___________________________________________________________________________




reply via email to

[Prev in Thread] Current Thread [Next in Thread]