Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

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


Any link to good help on sed or AWK??


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>


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 10:05 AM.

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