normal 0 false false false en-us x-none


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

Request for Solution File

Ask an Expert for Answer!!
Application Programming: normal 0 false false false en-us x-none
Reference No:- TGS0161545

Expected delivery within 24 Hours