Mike Small
2024-10-30 03:17:26 UTC
I've noticed slackbuilds tend to copy files in place using cat unless
they do multiple files in one command, in which case they of course must
use cp. Anyone know the thinking behind or origin of that?
I see a couple web hits with possibilities but nothing definitive...
https://unix.stackexchange.com/questions/30295/cp-vs-cat-to-copy-a-file
https://www.linuxquestions.org/questions/linux-general-1/cat-vs-cp-777453/
Another possibility would be the GNU install program, but I never see
that used in slackbuild scripts.
they do multiple files in one command, in which case they of course must
use cp. Anyone know the thinking behind or origin of that?
I see a couple web hits with possibilities but nothing definitive...
https://unix.stackexchange.com/questions/30295/cp-vs-cat-to-copy-a-file
https://www.linuxquestions.org/questions/linux-general-1/cat-vs-cp-777453/
Another possibility would be the GNU install program, but I never see
that used in slackbuild scripts.