help-cfengine
[Top][All Lists]
Advanced

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

How to duplicate a line?


From: Kai Großjohann
Subject: How to duplicate a line?
Date: Mon, 27 Jan 2003 16:32:08 +0100
User-agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.3.50 (i686-pc-linux-gnu)

Say I have a file which contains the line

    Media: a4 1 2 3 4 5 6 7

And I want to copy this line and modify the copy slightly so that I
end up with the following two lines

    Media: a4 1 2 3 4 5 6 7
    Media: A4 1 2 3 4 5 6 7

How would I go about this?  I don't want to hardwire the "A4" line in
my script, instead it should be taken from the file.
-- 
Ambibibentists unite!





reply via email to

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