LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 06-15-2009, 11:13 AM   #1
johnemac
LQ Newbie
 
Registered: May 2008
Posts: 1

Rep: Reputation: 0
is there a linux 'change' prog (like old dos 1) for quick change of text in files?


I wrote a little 'change' program which if find very useful (similar to
the old DOS change). I'm just wondering if there's an existing one I
don't know about - did I just re-invent the wheel??
 
Old 06-15-2009, 11:21 AM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
More detail of exactly what you want to do would be good, however I'll take a guess: maybe 'sed' is what you are looking for?

Try `man sed` in a console, or Google for a sed tutorial.

Sasha
 
Old 06-15-2009, 11:22 AM   #3
toreric
Member
 
Registered: Dec 2005
Location: Tväråmark, Sweden
Distribution: Debian/Kubuntu
Posts: 105

Rep: Reputation: 27
You probably should use sed, a stream editor utility, included in most Linux dists i assume, try `man sed`!
 
  


Reply



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
Convert DOS text files to UNIX text files ta0kira Linux - Software 7 03-15-2011 11:42 AM
How change text color using linux in text mode only runlevel 3? Xavius Linux - General 7 05-07-2009 02:19 AM
Should I Use The VI prog to change an File HooX Linux - Newbie 2 01-11-2005 01:52 AM
How to change directories in DOS zWaR General 17 11-09-2004 10:29 AM
change DOS name calvin_wang Red Hat 8 03-23-2004 03:20 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 11:58 PM.

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
Open Source Consulting | Domain Registration