On Fri, Jan 04, 2002 at 01:34:07AM +0100, Joerg Schilling wrote: > BTW: sorry for being off topic but does anybody know how to write a test that > finds that GNU rm is not UNIX-98 compliant? > > From http://www.opengroup.org/onlinepubs/7908799/xcu/rm.html: > > 4.If the current file is a directory, rm will perform actions equivalent to > the > XSH specification rmdir() function called with a pathname of the current file > used as the path argument. > > ... but GNU rm has a -d option that makes it behave like the unlink command.
If you use an out-of-standard option, why would you expect a standards-compliant result? -- Mike Stone
