Shell script to remove colons from a colon–separated record, Programming Languages

W.A.S.S to remove colons from a colon – separated record.

 

Program

 

# W.A.S.S to remove colons from a colon – separated record.

#07MCG20

 

echo -e "Enter the file name: \c"

read fnm

 

cat $fnm | tr ":" " " > temp.txt

cat temp.txt > $fnm

rm temp.txt

 

Output

 

Befoe

 

cat temp3.txt

Narendra  : Agrawal :  mca :  svit

Gujarat :  university

 

sh colon.sh

 

After

 

cat temp3.txt

Narendra   Agrawal   mca   svit

Gujarat   university

Posted Date: 9/26/2012 7:55:29 AM | Location : United States







Related Discussions:- Shell script to remove colons from a colon–separated record, Assignment Help, Ask Question on Shell script to remove colons from a colon–separated record, Get Answer, Expert's Help, Shell script to remove colons from a colon–separated record Discussions

Write discussion on Shell script to remove colons from a colon–separated record
Your posts are moderated
Related Questions
1.  Use mathematical induction to prove Whenever n is a positive integer. 2.  Use loop invariant to prove that the program for computing the sum of 1,...,n is correct.


Select two different architecture styles to design and implement a software system and provide its Architecture Diagrams (implement the software with java)

Write a program that will generate 25 DWORD values in the range from +/-50 representing a two dimensional array of size 5 x 5. It should then display the array as a table (5 x 5) b

write a program to sort the file sequential order and store on magnetic tape and print sorted tape as the output of the program.

You are working in charge of a group of programmers at a software company. Your task is to assess and research CORBA and to produce a report to be given to the programmers detailin

1. Modify your solution to #8 so that if an ellipse is touched by the mouse, it turns permanently green.Bonus (up to +5): a green ellipse stops moving, but recovers after 5 seconds

You are to build a Schema in XML Schema Language that will be used to support the development of the new central course information management system and other supporting applicati

Example- Arithmetic :  Given the subsequent two matrices, So calculate A-5B. Solution There isn't much to do now other than the work. We first multiplied

Really urgent help needed with Javascript. I have this website: I">https://www.theppcpresents.com/globe13/#/home I need to remove the video on the slider so that it only sho