![]() |
|
Porsche, and the Porsche crest are registered trademarks of Dr. Ing. h.c. F. Porsche AG.
This site is not affiliated with Porsche in any way. Its only purpose is to provide an online forum for car enthusiasts. All other trademarks are property of their respective owners. |
|
![]() |
Rusty |
![]() ![]()
Post
#1
|
914 Guru ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 7,973 Joined: 24-December 02 From: North Alabama Member No.: 6 Region Association: South East States ![]() ![]() ![]() |
Sorry for the OT post.
I have a text file that I need to edit. I need to edit every record on that file (record positions 34-37) to change whatever is in those positions (only) to a four digit number. What is currently in those positions varies dramatically. My only text editor I have on the system is vi. Anyone got a command I can use? thanks, Lawrence |
![]() ![]() |
kafermeister |
![]()
Post
#2
|
Senior Member ![]() ![]() ![]() Group: Members Posts: 778 Joined: 20-January 03 From: Cincinnati/Northern KY Member No.: 174 ![]() |
Ok, Don't laugh. The last time I ran into something like this, I was using SecureCRT to console into a Linux box. I copied the contents of the file (although not 2000 lines) from SecureCRT into Notepad and did a replace all. I backed up my original file on the Linux machine and opened it. Deleted all lines (holding 'd' for many minutes), went into insert mode and pasted the whole shebang from Notepad once it was modified. I didn't want to re-create the file on the Linux box because of possible ownership and permissions issues.
Sorry, I love Unix like OS but I put food on the table supporting Windows. HTH Rick |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 6th July 2025 - 11:49 PM |
All rights reserved 914World.com © since 2002 |
914World.com is the fastest growing online 914 community! We have it all, classifieds, events, forums, vendors, parts, autocross, racing, technical articles, events calendar, newsletter, restoration, gallery, archives, history and more for your Porsche 914 ... |