If I have two files, 'abc' and 'def'

and I do a

cat abc def | more >def

the content of 'abc' is prepended to the 'def' file.

If I create a script;

#! /bin/sh
#
cat abc def | more >def


and run it. The content is NOT prepended.

WHY??

And how to do it instead?


Niclas

Reply via email to