| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
emacs copy question
|
Original Message
|
Name: rayray705
Date: May 9, 2007 at 14:46:00 Pacific
Subject: emacs copy questionOS: solarisCPU/Ram: 2.8ghz/512mb |
Comment: Hi, How can I copy lines of codes from one file to another? All data in the buffer is lost when I copy text and close the file to open another file. Many thanks in advance.
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: JoeBrewski
Date: May 10, 2007 at 08:14:17 Pacific
|
Reply: (edit)Use vi, or just cp and strip out the stuff you don't want. In if you're not familiar with vi I suggest you learn how to use it including command codes. In vi, you can use the yy command to copy lines, and then p to paste the copied code into another area (ex 5yy will copy 5 lines). Joe All Your Base Are Belong to Us
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
Name: rayray705
Date: May 10, 2007 at 08:24:53 Pacific
|
Reply: (edit)I am able to copy text from one part of the file to another part of the same file. But I need to copy text from one file to another. How can I do it?
Report Offensive Follow Up For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Unix Forum Home