>> "command" isn't portable to older shells, so I'm a bit leery about
>> seeing it in portable scripts anyway. ... I suspect that it was a POSIX
>> invention ...

For coreutils, instead of "command ls ...", why not do "$LS ..." where
LS is set at configure time to a full filepath, such as /bin/ls?

The POSIX c952 document describes it on p. 257, and says:

CHANGE HISTORY: First released in Issue 4.

The preamble of that document says:

           Issue 4
                CAE Specification, July 1992, published by The Open Group:

                  7 System Interface Definitions (XBD), Issue 4 (ISBN: 1-872630-46-4, 
C204)

                  7 Commands and Utilities (XCU), Issue 4 (ISBN: 1-872630-48-0, C203)

                  7 System Interfaces and Headers (XSH), Issue 4 (ISBN: 1-872630-47-2, 
C202)

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: [EMAIL PROTECTED]  -
- 155 S 1400 E RM 233                       [EMAIL PROTECTED]  [EMAIL PROTECTED] -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -
-------------------------------------------------------------------------------


-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: [EMAIL PROTECTED]  -
- 155 S 1400 E RM 233                       [EMAIL PROTECTED]  [EMAIL PROTECTED] -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -
-------------------------------------------------------------------------------


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to