Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Using sed append function? Doesn't seem to stick.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1623
Location: U.S.A.

PostPosted: Sun Oct 20, 2002 5:06 pm    Post subject: Using sed append function? Doesn't seem to stick. Reply with quote

Not sure if this is the right place, but I wonder if something is wrong with SED or I am doing it wrong.

I finally got sed to append to the end of a line in a file.
Show the output, no errors, but it isn't really writing it to the file.
I am trying to make a patch, but the text I am trying to write just isn't
actually appearing in the file after.
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1623
Location: U.S.A.

PostPosted: Fri Oct 25, 2002 11:15 pm    Post subject: Reply with quote

I figured it out. Apparently for SED you can delete,... lines in a file, but
to append or insert a line you have to write to another file and then copy
the file over the old one.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum