Göktürk Yüksek <gokt...@gentoo.org> writes: >> + cat "${f}" >"${tmpf}" || return 1 > Why shell redirection with cat instead of cp? both are in coreutils.
I thought cp could overwrite file mode of already existing tmp file, but actually it doesn't, so cp can be here as well. Is there actual benefit of using cp here? > Also, wouldn't the absence of 'die' cause silent breakages? I want to caller decide whether die or not and what error messge to give. Cheers, -- Amadeusz Żołnowski
signature.asc
Description: PGP signature