|
Regarding redirection using cat.
The behavior of the following 2 operations is unexpected. K1 and K2 are files here :-
1) cat < K1 K2
The above operation should actually display contents of the both files.
But it gives the contents of K2 only. How is that ?
2) cat > K1 K2
Above operation takes the contents of K2 and writes it to K1 similar to
cat K2 > K1. How is that ?
Request anyone to please let me know.
Thanks a lot in advance.
Best Regards,
Marconi.
|