> Also reading Posix it's not clear to me whether this [set -C]
> is really expected to fail when $filename is a symlink.
More to the point, "set -C" doesn't work in practice to avoid
clobbering $filename if $filename is a special file, or a symlink to a
special file; and POSIX clearly permits this behavior.
Alexandre Duret-Lutz <email address hidden> writes:
> Also reading Posix it's not clear to me whether this [set -C]
> is really expected to fail when $filename is a symlink.
More to the point, "set -C" doesn't work in practice to avoid
clobbering $filename if $filename is a special file, or a symlink to a
special file; and POSIX clearly permits this behavior.