.
Last update: 1997-05-20
9945-2-17 Class: No change _____________________________________________________________________________ Topic: pax Relevant Sections: 4.48.3 Defect Report: ----------------------- In Section 4.48.3 - Options {of pax}, the standard states that the -k option to pax means ``[p]revent the overwriting of existing files'' [Draft 12 of ISO/IEC 9945-2:1993 (July 1992), p. 403, line 7784] and the -n option means: Select the first archive member that matches each pattern operand. No more than one archive member shall be matched for each pattern (although members of type directory shall still match the file hierarchy rooted at that file). [Ibid., p. 403, lines 7788-7791] If both the -k and -n options are specified, and the first file matched would cause an existing file to be overwritten, has the offending file been selected, and thus the offending pattern no longer eligible for matching? WG15 response for 9945-2:1993 ----------------------------------- The wording of the -n option very simply states ``select the first file that matches the pattern''. Therefore, even though the file was not written due to the presence of the -k option, the file has been selected and the pattern should not be reused. Rationale for Interpretation: ----------------------------- None. _____________________________________________________________________________