bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

replacing *** with 0 in ascii data file


From: kinda
Subject: replacing *** with 0 in ascii data file
Date: Wed, 6 Aug 2008 06:46:29 -0700 (PDT)

hi friends.,
my ascii file is as shown
1 41.18324 117.2673 ***
2 41.18324 117.2799 12.78
3 41.18324 117.2925 ***
----------------
----------------
299859 37.65457 122.0885 16.8
299860 37.65457 122.1011 16.668
--------------------
------------------
657522 33.21582 127.602 23.532
657523 33.21582 127.6146 23.532

like wise i have 100's of files..
In all the files i have to replace the *** (represents no data in my file)
with 0( zero).
i could not match those *** with the sed. ( am unfamiliar with regexp:-( )

any suggestions plz

thanks in advance..
Yagnesh
-- 
View this message in context: 
http://www.nabble.com/replacing-***-with-0-in-ascii-data-file-tp18851573p18851573.html
Sent from the Gnu - Bash mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]