> Paterson freely admits that he pulled out his CP/M reference manual and duplicated each of its API calls one by one. On the other other hand, and while it may not have reflected much originality or creative thinking, what he did was pretty clearly legal even by the standards of today.
And CP/M itself's command line interface closely matched that of DEC's earlier minicomputer operating system.