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 ?
Answers were Sorted based on User's Feedback
Answer / satyaranjan samal
sed 's/aab/xxl' file a ; sed 's/xxl/aab' file b ; cat file
a ; cat file b
| Is This Answer Correct ? | 9 Yes | 1 No |
Answer / raja
sed 's/110 aab/110 xxl/' file a
sed 's/330 xxl/330 aab/' file b
| Is This Answer Correct ? | 1 Yes | 0 No |
How does the kernel differentiate device files and ordinary files?
Name the key features of the bourne shell.
What are the core concepts of unix
What is output of the following?
Define a single-user system.
Elucidate on the different ids used in the unix process?
What is RC (return code)? What is useful for? Which are the common values?
How to terminate a shell script if statement?
How to remove the directory in unix?
How to create a blank file in unix?
What is the difference between a single dot and double dot in unix?
What are the layers of unix operating system?