Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-14-2005, 03:15 PM   #1
Registered: Apr 2003
Posts: 87

Rep: Reputation: 15
Replace text of unknown content with other text in file

Moved to

Last edited by brian0918; 07-14-2005 at 03:20 PM.
Old 07-14-2005, 03:22 PM   #2
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
you could use some wildcards and globbing expressions, but what are you trying to do?

it sounds like it might be a bit dangerous in that if your too general, you might replace things you DONT want to.

These two links MIGHT help you




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to replace a string in a text file jpan Linux - General 3 10-14-2012 06:17 PM
Find and replace text in multiple file Bad_Bob Linux - Software 9 05-08-2008 02:31 AM
Replace text of unknown content with other text in file brian0918 Programming 15 07-14-2005 09:22 PM
replace a string/number in a text file jpan Linux - General 3 10-22-2004 09:33 PM
best method to replace data in a text file? gsbarry Linux - General 5 04-15-2003 08:21 AM

All times are GMT -5. The time now is 02:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration