May 21, 2012, 09:26:08 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Add your links to our directory. Click here to add your links.
 
  Home   Forum   Help Search Directory Calendar Login Register    RSS 2.0 feedAtom feed


News
Add your links to our directory. Click here to add your links.
Pages: [1]
  Print  
Author Topic:

replace text using unix command

 (Read 142 times)
0 Members and 1 Guest are viewing this topic.
p.akhilreddy4u
Newbie
*

Points: 0
Offline Offline

Posts: 2


WWW
« on: January 22, 2012, 04:25:30 »

I have a text file whose data looks like as
A
[
east direction
]
B
[
south direction
]
c
[
north direction
]
d
[
south direction
]

Here in B, i have to change the south direction to west direction. Please provide unix command to replace the text. I tried with sed command and it did not worked for me.
Logged



Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
Valid XHTML 1.0! Valid CSS!