LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 07-14-2005, 04:15 PM   #1
brian0918
Member
 
Registered: Apr 2003
Posts: 87

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


Moved to http://www.linuxquestions.org/questi...hreadid=343215

Last edited by brian0918; 07-14-2005 at 04:20 PM.
 
Old 07-14-2005, 04:22 PM   #2
Kahless
Member
 
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


wildcards

expressions
 
  


Reply


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 07:17 PM
Find and replace text in multiple file Bad_Bob Linux - Software 9 05-08-2008 03:31 AM
Replace text of unknown content with other text in file brian0918 Programming 15 07-14-2005 10:22 PM
replace a string/number in a text file jpan Linux - General 3 10-22-2004 10:33 PM
best method to replace data in a text file? gsbarry Linux - General 5 04-15-2003 09:21 AM


All times are GMT -5. The time now is 09:12 AM.

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