LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 06-20-2005, 06:52 AM   #1
sgracelin
LQ Newbie
 
Registered: Jun 2005
Posts: 10

Rep: Reputation: 0
Replacing a particular position in a file


Hi,

Any link to good help on sed or AWK??

Thanks!!


Last edited by sgracelin; 06-21-2005 at 02:54 AM.
 
Old 06-20-2005, 06:54 PM   #2
wolfgang pauli
LQ Newbie
 
Registered: Jun 2005
Posts: 4

Rep: Reputation: 0
How about this?

sed 's/:"333331/:"777771/' <filename>
 
  


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
Replacing a particular position in a file sgracelin Linux - Newbie 14 06-23-2005 07:40 AM
Replacing a particular position in a file thru shell script in Linux sgracelin Programming 7 06-22-2005 08:04 AM
replacing characters in a file with others pcdude Linux - General 6 01-19-2005 01:29 AM
Vi - retain position in file between invokations of vi Xanadu Linux - Software 1 12-23-2004 03:33 PM
read file and analyze position j-me Linux - Newbie 3 07-18-2003 06:54 PM


All times are GMT -5. The time now is 11:04 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration