Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Driving me MAD!!!!! help 1

Status
Not open for further replies.

smithia6

Technical User
Aug 28, 2002
35
0
0
US
Please does anyone know the answer to a simple problem.

I have a file with mabey 350 lins of data a day, the lines of data look like the below.

113M,583M,78

All I want to do is to look at this file called data.csv and remove the M so it will look like this...

113,583,78

Regards

Ian
 
cat your_file|tr -d"M"
 
Thanks so much.

I tried all sorts of things with tr and thats all it was.
Couldn't see the forest for all the trees where in the way.

Regards

Ian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top