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

Assignment Help:

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


Related Discussions:- Shell script to remove colons from a colon–separated record

Retrive unicode text using vb.net ado.net, How Can I Retrive Unicode CSV Fi...

How Can I Retrive Unicode CSV File the ADO.net VB.net

Linear time algorithm to find longest repeat prefix, A non-empty string β i...

A non-empty string β is called a repeat pre x of a string s if ββ is a pre x of s. Give a linear time algorithm to find the longest repeat prefix of s. Hint: Think of using lca

Windows card space, Windows Card Space Windows Card Space (codenamed Info C...

Windows Card Space Windows Card Space (codenamed Info Card), is Windows now-canceled customer application for the Identification Met system. Card Place is an instance of a class of

Python 2.7.3, I have assignment about python language . Could you helpe me ...

I have assignment about python language . Could you helpe me to built it

econometrics using r, EF308 Assignment 2 Due: 3pm, 26 April 2012 Introduct...

EF308 Assignment 2 Due: 3pm, 26 April 2012 Introduction This assignment is loosely based on Cheung et al. (2005) and Molodtsova and Papell (2009) and examines the out-of- sample pr

Define a procedure that takes a list as a single argument, (a) Define a pro...

(a) Define a procedure (subsets x) that takes a list as a single argument and returns all 2^n subsets of that list, i.e. the power set of the list; e.g. (subsets '(a b c)) ==> (

Differences between user and kernel level threads, Question : (a) Many ...

Question : (a) Many systems provide support for both user threads and kernel threads, resulting in different multithreading models. What are the two differences between user

Sytem call, use of exec and nice system call

use of exec and nice system call

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd