i have one column with data smith
john
michale
the o/p should be smith,john,michale how we do in unix

Answer Posted / narendra chenna

cat <filename with data> | while read filename
do
tem=$filename" "$filename
echo $tem >><onther file name>
done

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is .login file in unix?

565


What is meant by the term super user?

505


Where is unix operating system used?

522


How do I grep recursively in unix?

471


Is mac unix based?

514






Why is it that it is not advisable to use root as the default login?

661


What is standard unix streams ?

519


Explain the importance of directories in a unix system

651


How is unix different from linux?

555


What is a shell?

526


What are internal and external commands in unix?

463


What are the benefits of running processes in the background?

495


You have a file called tonky in the directory honky. Later you add new material to tonky. What changes take place in the directory, inode, and file?

716


What is $# in unix?

499


What are the various ids in unix processes?

515