View Single Post

   
  #2 (permalink)  
Old 02-15-2008, 04:10 PM
Tony Lawrence
 
Posts: n/a
Default Re: UW7: strange return code of mkdir(1)


Klaus Heinz wrote:
> Hi,
>
> I have noticed that 'mkdir -p a/b/c/d' creates the missing

directories
> but returns '2' if either a, b, c or d exists beforehand (Unixware
> 7.1.1).
>
> Is this expected behaviour on Unixware or has this changed in later
> versions?



I don't know what is expected on Unixware but it sure doesn't work that
way on Linux or bsd

--
Tony Lawrence
http://aplawrence.com

Reply With Quote