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 |
What are the pros of executing processes in the background?
How to calculate the number of words in a file?
What does unix .profile contains?
What does a pipe(|) do?
What are shell variables?
Describe the term directory?
Does unix still exist?
How to copy files from one directory to other in unix?
What is a superuser?
Is unix written in c?
How do you start and stop services in unix without using admin console?
Is unix a kernel?