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 is windows different from unix?
How to perform a system shutdown in unix?
What are the basic responsibilities of a shell?
What are the essential features of the unix operating system?
How the Kernel handles the fork() system call in traditional Unix and in the System V Unix, while swapping?
How to find the path in unix?
What are conditions for a machine to support Demand Paging?
what is the functionality of kernel in unix architecture?
What does unix .profile contains?
Describe the responsibilities of shell in brief.
What is .sh file in unix?
What is unix in simple terms?