following two file are

file a file b
110 aab 330 xxl
i want the output like

file a fileb
110 xxl 330 aab
give solution ?


Answer Posted / asif

sed 's/aab/xxl' file a ; sed 's/xxl/aab' file b

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the main features of korn shell?

514


How to install unix on windows 10?

557


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

661


Is android unix like?

543


What are the requirements for a swapper to work?

560






Is unix portable?

550


Explain the terms links and symbolic links with respect to unix?

553


Write a script that prints out date information in this order: time, the day of week, day number, month, year(sample output: 17:34:51 pdt sun 12 feb 2012)

767


Is a directory unix?

470


Is unix a language?

468


Is windows built on unix?

509


Explain file system in unix.

512


What are the advantages and disadvantages of unix operating system?

517


Name the data structure used to maintain file identification?

557


What is unix operating system used for?

485