Jeff King [off-list ref] writes:
quoted
Major issue: "echo -n" is still not portable.
Could we simply use
touch marks-cur &&
touch marks-new
Yes, "echo -n" is definitely not portable. Our preferred way of
creating an empty file is just ">file".
Yes.
And it is misleading to use "touch" in this case; unless you are
updating the timestamp of an existing file while preserving the
contents of it, please don't use the command.
Thanks.