in reply to Re: Why is it good practice for a cli script to take switch args before file list?
in thread Why is it good practice for a cli script to take switch args before file list?

I have a minor quibble. Windows took its cli from MSDOS, which didn't care where the options were, so long as they started with a forward slash, and still doesn't. It didn't matter if you needed two passes to parse the command line when you only allowed 128 bytes of command.

I've never quite forgiven the young Bill Gates and company for going along with IBM's wish to use forward-slash to identify options, as IBM used on their mainframes. It forced them to use back-slash for the directory separator, and I grumble at them every time I get it wrong switching betweeen Unix and MSWindows.

  • Comment on Re^2: Why is it good practice for a cli script to take switch args before file list?

Replies are listed 'Best First'.
Re^3: Why is it good practice for a cli script to take switch args before file list?
by swampyankee (Parson) on Jul 20, 2006 at 03:06 UTC

    I thought they got the idea for forward slashes for command switches from VMS. Whether they got the idea from VMS or IBM, backslashes for directory separators was a really bad idea: they're not in a standard place on a keyboard.

    emc

    e(π√−1) = −1