Uwe Kleine-König [off-list ref] writes:
Junio C Hamano wrote:
quoted
We could write it as "$(TAR) Ccf blt - ." if we can rely on the
'C' option, but I suspect it is a GNU extension. Does anybody
have POSIX.1 handy?
I don't have POSIX.1 handy, but on Solaris 10, you need to say:
tar cf - -C blt .
(That is, Solaris' tar has the 'C' option, which is quite a good
indication, that it's included in POSIX :-)
Oh, I cannot resist ;-)
Solaris has unlink(2) capable of removing a directory, but I do
not think it is included in POSIX.