Hello. I noticed that in the build scripts for various software for Slackware packages (slackbuilds.org), rather than saying this:
Code:
cp TXTFILE NEWDIR/TXTFILE
it does this
Code:
cat TXTFILE > NEWDIR/TXTFILE
Why would this be? I did notice that using cat doesn't preserve the permissions, but is there anything else? Some sort of performance thing? Just curious. Thanks all.