Information technology — Portable Operating System Interface (POSIX®) — Test methods for measuring conformance to POSIX — Part 2: Shell and utilities

ISO/IEC 14515-2:2004 defines a standard for test methods for the interface to command interpretation, or "shell" services, and common utility programs for application programs. These test methods are derived from the definitions contained in ISO/IEC 9945-2:1993 (IEEE Std 1003.2-1992) }, hereinafter referred to as "POSIX.2." The services and programs described in POSIX.2 are complementary to those specified by ISO/IEC 9945-1:1990 (IEEE Std 1003.1-1990).

Technologies de l'information — Interface de système de fonctionnement portable (POSIX®) — Méthodes d'essai pour mesurer la conformité au POSIX — Partie 2: Enveloppe et utilités

General Information

Status
Withdrawn
Publication Date
31-Aug-2003
Withdrawal Date
31-Aug-2003
Current Stage
9599 - Withdrawal of International Standard
Completion Date
23-Jan-2007
Ref Project

Relations

Buy Standard

Standard
ISO/IEC 14515-2:2003 - Information technology -- Portable Operating System Interface (POSIX®) -- Test methods for measuring conformance to POSIX
English language
1393 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

INTERNATIONAL ISO/IEC
STANDARD 14515-2
IEEE
Std 2003.2-1996
First edition
2003-09-01

Information technology — Portable
®
Operating System Interface (POSIX ) —
Test methods for measuring
conformance to POSIX —
Part 2:
Shell and utilities
Technologies de l'information — Interface de système de
®
fonctionnement portable (POSIX ) — Méthodes d'essai pour mesurer
la conformité au POSIX —
Partie 2: Enveloppe et utilités




Reference number
ISO/IEC 14515-2:2003(E)
IEEE
Std 2003.2-1996 Edition

---------------------- Page: 1 ----------------------
ISO/IEC 14515-2:2003(E)
PDF disclaimer
This PDF file may contain embedded typefaces. In accordance with Adobe's licensing policy, this file may be printed or viewed but shall not
be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading this
file, parties accept therein the responsibility of not infringing Adobe's licensing policy. The ISO Central Secretariat accepts no liability in this
area.
Adobe is a trademark of Adobe Systems Incorporated.
Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation parameters
were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event
that a problem relating to it is found, please inform the Central Secretariat at the address given below.
ISO
Case postale 56 • CH-1211 Geneva 20
Tel. + 41 22 749 01 11
Fax + 41 22 749 09 47
E-mail copyright@iso.ch
Web www.iso.ch

---------------------- Page: 2 ----------------------
IEEE Std 2003.2-1996
Information Technology —
Test Methods for Measuring Conformance to

POSIX — Part 2: Shell and Utilities
Sponsor
Portable Application Standards Committee
of the
IEEE Computer Society
Approved 20 June 1996
IEEE Standards Board
International Organization for Standardization/International Electrotechnical Commission
Case postale 56 • CH-1211 Genève 20 • Switzerland

---------------------- Page: 3 ----------------------

Abstract: A definition of the requirements placed upon providers of a POSIX
Conformance Test Suite for the POSIX.2 standard (ISO/IEC 9945-2:1993,
IEEE/ANSI Std. 1003.2-1992) is provided. These requirements consist of a list of
assertions defining those aspects of POSIX.2 that are to be tested and the associ-
ated test methods that are to be used in performing those tests. This standard is
primarily aimed at test suite providers but it also defines to POSIX.2 implementors
those aspects of the standard that will be verified by a conformance test suite.
Keywords: conformance, POSIX, Shell and Utilities, test methods
The Institute of Electrical and Electronics Engineers, Inc.
3 Park Avenue, New York, NY 10016-5997, USA
Copyright © 2003 by the Institute of Electrical and Electronics Engineers, Inc.
All rights reserved. Published 1 September 2003. Printed in the United States of America.
Print: ISBN 0-7381-3800-2 SH95167
PDF: ISBN 0-7381-3801-0 SS95167
No part of this publication may be reproduced in any form, in an electronic retrieval system or otherwise, without the prior
written permission of the publisher.

---------------------- Page: 4 ----------------------
ISO/IEC 14515-2:2003(E)
International Standard ISO/IEC 14515-2:2003(E)
ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission)
form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC
participate in the development of International Standards through technical committees established by the
respective organization to deal with particular fields of technical activity. ISO and IEC technical committees
collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in
liaison with ISO and IEC, also take part in the work.
International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 3.
In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1.
Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting.
Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote.
Attention is drawn to the possibility that some of the elements of this part of ISO/IEC 14515 may be the subject of
patent rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights.
International Standard ISO/IEC 14515-2 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information
technology, Subcommittee SC 22, Programming languages, their environments and system software interfaces.
ISO/IEC 14515 consists of the following parts, under the general title Information technology — Portable Operating
®
System Interface (POSIX  ) — Test methods for measuring conformance to POSIX:
� Part 1: System interfaces
� Part 2: Shell and utilities
Annexes A, B and C form a normative part of this part of ISO/IEC 14515. Annex D is for information only.
International Organization forSta ndardization/International Electrotechnical Commission
Case postale 56 � CH-1211 Genève 20 � Switzerland

---------------------- Page: 5 ----------------------
IEEE Standards documents are developed within the IEEE Societies and the Standards Coordinating Committees of the
IEEE Standards Association (IEEE-SA) Standards Board. The IEEE develops its standards through a consensus
development process, approved by the American National Standards Institute, which brings together volunteers
representing varied viewpoints and interests to achieve the final product. Volunteers are not necessarily members of the
Institute and serve without compensation. While the IEEE administers the process and establishes rules to promote fairness
in the consensus development process, the IEEE does not independently evaluate, test, or verify the accuracy of any of the
information contained in its standards.
Use of an IEEE Standard is wholly voluntary. The IEEE disclaims liability for any personal injury, property or other
damage, of any nature whatsoever, whether special, indirect, consequential, or compensatory, directly or indirectly resulting
from the publication, use of, or reliance upon this, or any other IEEE Standard document.
The IEEE does not warrant or represent the accuracy or content of the material contained herein, and expressly disclaims
any express or implied warranty, including any implied warranty of merchantability or fitness for a specific purpose, or that
the use of the material contained herein is free from patent infringement. IEEE Standards documents are supplied “AS IS.”
The existence of an IEEE Standard does not imply that there are no other ways to produce, test, measure, purchase, market,
or provide other goods and services related to the scope of the IEEE Standard. Furthermore, the viewpoint expressed at the
time a standard is approved and issued is subject to change brought about through developments in the state of the art and
comments received from users of the standard. Every IEEE Standard is subjected to review at least every five years for
revision or reaffirmation. When a document is more than five years old and has not been reaffirmed, it is reasonable to
conclude that its contents, although still of some value, do not wholly reflect the present state of the art. Users are cautioned
to check to determine that they have the latest edition of any IEEE Standard.
In publishing and making this document available, the IEEE is not suggesting or rendering professional or other services
for, or on behalf of, any person or entity. Nor is the IEEE undertaking to perform any duty owed by any other person or
entity to another. Any person utilizing this, and any other IEEE Standards document, should rely upon the advice of a
competent professional in determining the exercise of reasonable care in any given circumstances.
Interpretations: Occasionally questions may arise regarding the meaning of portions of standards as they relate to specific
applications. When the need for interpretations is brought to the attention of IEEE, the Institute will initiate action to prepare
appropriate responses. Since IEEE Standards represent a consensus of concerned interests, it is important to ensure that any
interpretation has also received the concurrence of a balance of interests. For this reason, IEEE and the members of its
societies and Standards Coordinating Committees are not able to provide an instant response to interpretation requests
except in those cases where the matter has previously received formal consideration.
Comments for revision of IEEE Standards are welcome from any interested party, regardless of membership affiliation with
IEEE. Suggestions for changes in documents should be in the form of a proposed change of text, together with appropriate
supporting comments. Comments on standards and requests for interpretations should be addressed to:
Secretary, IEEE-SA Standards Board
445 Hoes Lane
P.O. Box 1331
Piscataway, NJ 08855-1331
USA
Note: Attention is called to the possibility that implementation of this standard may require use of subject
matter covered by patent rights. By publication of this standard, no position is taken with respect to the
existence or validity of any patent rights in connection therewith. The IEEE shall not be responsible for
identifying patents for which a license may be required by an IEEE standard or for conducting inquiries into the
legal validity or scope of those patents that are brought to its attention.
Authorization to photocopy portions of any individual standard for internal or personal use is granted by the Institute of
Electrical and Electronics Engineers, Inc., provided that the appropriate fee is paid to Copyright Clearance Center. To
arrange for payment of licensing fee, please contact Copyright Clearance Center, Customer Service, 222 Rosewood Drive,
Danvers, MA 01923 USA; +1 978 750 8400. Permission to photocopy portions of any individual standard for educational
classroom use can also be obtained through the Copyright Clearance Center.

---------------------- Page: 6 ----------------------
Introduction
(This introduction is not a normative part of IEEE Std 1003.2-1996, IEEE Standard for Information

Technology — Test Methods for Measuring Conformance to POSIX — Part 2: Shell and Utilities
Interfaces, but is included for information only.)
The primary purpose of this standard is to define test methods for POSIX.2 {9}. It
is intended for systems implementors and verification software developers. It is
complementary to POSIX.2 {9} (second in a family of ‘‘POSIX’’ standards), which
specifies a standard interface and environment for application programs that
require the services of a ‘‘shell’’ command language interpreter and a set of com-
mon utility programs. (See 1.1 for a full description of the relationship between
the standards.)
The majority of this standard describes the assertions that a test suite shall pro-
vide for the execution of a conformance test for the POSIX.2 {9} standard. The
standard also describes the various other test methods that are to be used in the
development or execution of such a test suite, and it describes the complimentary
procedures that are needed to assess the results of the execution of the test suite.
This standard should be read in conjunction with ISO/IEC 13210:1994 (ANSI/IEEE
Std 1003.3-1991) Standard for Information Technology — Test Methods for
Measuring Conformance to POSIX {11}, which defines the general test method
requirements applicable to POSIX Conformance Testing.
Organization of This Standard
The standard is divided into nine parts:
— General, including a statement of scope, normative references, a description
of test suite conformance requirements, and a description of the test
methods specific to POSIX.2 {9} testing (Section 1).
— Assertions for definitions, general requirements, and the environment
available to applications (Section 2).
— Assertions for the shell command language interpreter (Section 3).
— Assertions for the utilities in the required ‘‘Execution Environment Utili-
ties’’ (Section 4).
— Assertions for the utilities in the optional ‘‘User Portability Utilities’’ (Sec-
tion 5).
— Assertions for the utilities in the optional ‘‘Software Development Utilities’’
(Section 6).
— Assertions for the utilities in the optional ‘‘C Language Development Utili-
ties’’ (Annex A).
— Assertions for C Language Bindings option (Annex B).
— Assertions for the utilities in the optional ‘‘FORTRAN Development and
Runtime Utilities’’ (Annex C).
iii

---------------------- Page: 7 ----------------------
This introduction, any footnotes, notes accompanying the text, and the informa-
tive annexes are not considered part of the standard. Annexes A through C are
normative and the other annexes are informative.
Acknowledgments
We wish to thank the following organizations for donating significant computer,
printing, and editing resources to the production of this standard: McCarron
Advanced Computing Services, Inc., The POSIX Software Group, UniSoft Limited,
and The Open Group.
Also we wish to thank the organizations employing the members of the working
group and the balloting group for both covering the expenses related to attending
and participating in meetings, and for donating the time required both in and out
of meetings for this effort.
Related Standards Activities
Activities to extend this standard to address additional requirements are in pro-
gress, and similar efforts can be anticipated in the future.
The following areas are under active consideration at this time or are expected to
1)
become active in the near future:
(1) Language-independent service descriptions of POSIX.1 {8}
(2) C, Ada, and FORTRAN language bindings to (1)
(3) Verification testing methods
(4) Realtime facilities
(5) Secure/Trusted system considerations
(6) Network interface facilities
(7) System administration
(8) Graphical user interfaces
(9) Profiles describing application- or user-specific combinations of open sys-
tems standards for: supercomputing, multiprocessor, and batch exten-
sions; transaction processing; realtime systems; and multiuser systems
based on historical models
(10) An overall guide to POSIX-based or related open systems standards and
profiles
Extensions are approved as ‘‘amendments’’ or ‘‘revisions’’ to this document, follow-
ing IEEE and ISO/IEC procedures.
Approved amendments are published separately until the full document is
reprinted and such amendments are incorporated in their proper positions.
________________
1) A Standards Status Report that lists all current IEEE Computer Society standards projects is
available from the IEEE Computer Society, 1730 Massachusetts Avenue NW, Washington, DC
20036-1903; Telephone: +1 202 371-0101; FAX: +1 202 728-9614.
iv

---------------------- Page: 8 ----------------------
If you have an interest in participating in the Portable Applications Standards
Committee (PASC) working groups addressing these issues, please send your
name, address, and phone number to the Secretary, IEEE Standards Board, Insti-
tute of Electrical and Electronics Engineers, Inc., P.O. Box 1331, 445 Hoes Lane,
Piscataway, NJ 08855-1331, and ask to have this forwarded to the chair of the
appropriate PASC working group. If you have an interest in participating in this
work at the international level, contact your ISO/IEC national body.
IEEE Std 2003.2-1996 was prepared by the P2003.2 Working Group, sponsored by
the Portable Applications Standards Committee of the IEEE Computer Society. At
the time this standard was approved, the membership of the P2003.2 Working
Group was as follows:
Portable Applications Standards Committee (PASC)
Chair: Lowell Johnson
Vice Chair: Charles Severance
Functional Chairs: Jay Ashford
Andrew Josey
Barry Needham
Stephe Walli
Secretary: Nicholas Stoughton
P2003.2 Working Group Officials
Chair: Lowell Johnson
Vice Chair: Krystyne Supplee
Editor: Andrew Twigger
Secretary: Steve Henderson
Working Group
Sanjay Agraharam Yvonne Gee Gerald Powell
Lynda Allen Dave Grindeland Bill Putman
Helene Armitage Ken Harvey Vella Raman
John Bissell Barry Hedquist Elliot Rappaport
Barry Books Gail Holmes John Reed
Keith Bostic Eric Horner David Rowley
Gary Bradley Hal Jespersen Piyanai Saowarattitada
Mark Brown Greg Jones Tom Shem
Dawn Burnett David Korn Keith Stobie
Suzanne Callaghan Mark Lamonds William Sudman
Kate Chen Chuck Lanchester Scott Sutter
Steven Church Eric Lewine Ravi Tavakley
Anthony Cincotta Roger Martin William Toth
Don Cragun Eric Matsono Sandy Waters
Patric Dempster James Moe Bruce Weiner
Kevin Dodson Cindy Morris N. Ray Wilkes
Stan Douglas Anita Mundkur David Williams
Shiela Frankel Arnie Powell Fred Zlotnick
v

---------------------- Page: 9 ----------------------
The following persons were members of the balloting group:
Nick Stoughton EurOpen Institutional Representative
Robert Boucher Uniforum Institutional Representative
Lynda Allen Barry Hedquist A. W. Powell
Ralph Barker John L. Hill Piyanai Saowarattitada
Andy R. Bihain Richard Hughes-Rowlands Keith Stobie
Robert Bismuth Hal Jespersen Krystyne Supplee
Michael E. Browne Lowell Johnson James G. Tanner
Dawn Burnett Judy Kerner Ravi Tavakley
Suzanne Callaghan Alan W. Kiecker Donn S. Terry
Stephan M. Chan Thomas M. Kurihara Andrew T. Twigger
William Cox Greger Leijonhufvud Mark-Rene Uchida
Donald Cragun Kevin Lewis Stephen R. Walli
Fred D. Crowner Roger Martin Bruce Weiner
Dave Decot Roland McGrath Andrew E. Wheeler
Stephen L. Diamond Pete Meier Alex White
Stanford Douglas Mark Modig Peter Wishart
Sheila Frankel John S. Morris Oren Yuen
Michel Gien Landon Curt Noll George R. Zerdian
Dave Grindeland
When the IEEE Standards Board approved this standard on 20 June 1996, it had
the following membership:
Donald C. Loughry, Chair Richard J. Holleman, Vice Chair
Andrew G. Salem, Secretary
Gilles A. Baril E. G. ‘‘Al’’ Kiener Arthur K. Reilly
Clyde R. Camp Joseph L. Koepfinger∗Ronald H. Reimer
Joseph A. Cannatelli Stephen R. Lambert Gary S. Robinson
Stephen L. Diamond Lawrence V. McCall Ingo Rsch
Harold E. Epstein L. Bruce McClung John S. Ryan
Donald C. Fleckenstein Marco W. Migliaro Chee Kiow Tan
Jay Forster∗Mary Lou Padgett Leonard L. Tripp
Donald N. Heirman John W. Pope Howard L. Wolfman
Ben C. Johnson Jose R. Ramos
∗Member Emeritus
Also included are the following nonvoting IEEE Standards Board liaisons:
Satish K. Aggarwal Alan H. Cookson Chester C. Taylor
Trademarks

POSIX is a registered certification mark of the Institute of Electrical and Elec-
tronics Engineers, Inc.

UNIX is a registered trademark in the United States and other countries,
licensed exclusively through X/Open Company Limited.

X/Open is a registered trademark and the ‘‘X’’ device is a trademark of X/Open
Company Limited.
vi

---------------------- Page: 10 ----------------------
Contents
PAGE
Introduction .
iii
Section 1: General . 1
1.1 Scope . 1
1.2 Normative References . 1
1.3 Conformance . 3
Section 2: Conformance, Terminology, and General Requirements . 5
2.1 Conventions. 5
2.2 Definitions . 9
2.3 POSIX.2 {9} Conformance, Definitions and Built-in Utilities . 11
2.4 Character Set . 15
2.5 Locale. 17
2.6 Environment Variables . 46
2.7 Required Files . 48
2.8 Regular Expression Notation . 48
2.9 Dependencies on Other Standards . 74
2.10 Utility Conventions . 77
2.11 Utility Description Defaults . 78
2.12 File Format Notation . 82
2.13 Configuration Values. 82
2.14 Terminal Characteristics . 82
Section 3: Shell Command Language . 85
3.1 Shell Introduction . 85
3.2 Quoting . 85
3.3 Token Recognition . 87
3.4 Reserved Words . 89
3.5 Parameters and Variables . 90
3.6 Word Expansions . 92
3.7 Redirection . 114
3.8 Exit Status and Errors . 119
3.9 Shell Commands . 121
3.10 Shell Grammar . 127
3.11 Signals and Error Handling . 128
3.12 Shell Execution Environment. 128
3.13 Special Built-in Commands . 135
Section 4: Execution Environment Utilities . 147
4.1 awk — Pattern scanning and processing language. 147
4.2 basename — return nondirectory portion of pathname . 203
4.3 bc — Arbitrary-precision arithmetic language . 207
4.4 cat — Concatenate and print files . 221
4.5 cd — Change working directory . 225
vii

---------------------- Page: 11 ----------------------
4.6 chgrp — Change file group ownership . 229
4.7 chmod — Change file modes . 234
4.8 chown — Change file ownership . 242
4.9 cksum — Display file checksums and block counts . 247
4.10 cmp — Compare two files . 251
4.11 comm — select or reject lines common to two files . 256
4.12 command — Execute a simple command . 262
4.13 cp — Copy files . 268
4.14 cut — Cut out selected fields of each line of a file . 281
4.15 date — Display the date and time . 287
4.16 dd — Convert and copy a file . 295
4.17 diff — Compare two files. 303
4.18 dirname — Return directory portion of pathname . 311
4.19 echo — Write arguments to standard output . 315
4.20 ed — Text editor . 317
4.21 env — Set environment for command execution . 375
4.22 expr — Evaluate arguments as an expression . 379
4.23 false — Return false value . 391
4.24 find — Find files. 393
4.25 fold — Filter for folding lines . 414
4.26 getconf — Get POSIX configuration values. 420
4.27 getopts — Parse utility options . 429
4.28 grep — File pattern searcher . 435
4.29 head — Copy the first part of files . 463
4.30 id — Return user identity. 467
4.31 join — Relational database operator . 474
4.32 kill — Terminate or signal processes . 484
4.33 ln — Link files . 488
4.34 locale — Get locale-specific information . 495
4.35 localedef — Get locale-specific information . 499
4.36 logger — Log messages . 508
4.37 logname — Return user’s login name . 511
4.38 lp — Send files to a printer . 513
4.39 ls — List directory contents . 518
4.40 mailx — Interactive message processing system. . 530
4.41 mkdir — Make directories. 598
4.42 mkfifo — Make FIFO special files . 605
4.43 mv — Move files . 612
4.44 nohup — Invoke a utility immune to hangups . 623
4.45 od — Dump files in various formats . 627
4.46 paste — Merge corresponding or subsequent lines of files . 636
4.47 pathchk — Check pathnames . 641
4.48 pax — Portable archive interchange . 646
4.49 pr — Print files . 672
4.50 printf — Write formatted output . 679
4.51 pwd — Return working directory name . 687
4.52 read — Read a line from standard input . 689
4.53 rm — Remove directory entries . 693
4.54 rmdir — Remove directories . 699
4.55 sed — Stream editor . 704
4.56 sh — Shell, the standard command language interpreter . 728
4.57 sleep — Suspend execution for an interval . 758
viii

---------------------- Page: 12 ----------------------
4.58 sort — Sort, merge or sequence check text files . 760
4.59 stty — Set the options for a terminal. 770
4.60 tail — Copy the last part of a file . 778
4.61 tee — Duplicate standard input. 785
4.62 test — Condition evaluation utility . 790
4.63 touch — Change file access and modification times . 798
4.64 tr — Translate Characters . 806
4.65 true — Return true value. 811
4.66 tty — Return user’s terminal name . 813
4.67 umask — Get or set file mode creation mask . 816
4.68 uname — Return system name . 820
4.69 uniq — Report or filter out repeated lines in a file . 824
4.70 wait — Await process completion . 831
4.71 wc — Word, line, and byte count . 835
4.72 xargs — Construct argument list(s) and execute utility . 839
Section 5: User Portability Utilities Option . 847
5.1 alias — Define or display attributes . 847
5.2 at — Execute commands at a later time . 851
5.3 batch — Execute commands when the system load permits . 861
5.4 bg — Run jobs in background. 864
5.5 crontab — Schedule periodic background work . 869
5.6 csplit — Split files based on context . 875
5.7 ctags — Create a tags file . 883
5.8 df — Report free disk space . 891
5.9 du — Estimate file space usage . 896
5.10 ex — Text editor . 901
5.11 expand — Convert tabs to spaces . 979
5.12 fc — Process command history list. 985
5.13 fg — Run jobs in the foreground . 992
5.14 file — Determine file type . 996
5.15 jobs — Display status of jobs in the current session . 1002
5.16 man — Display system documentation . 1008
5.17 mesg — Permit or deny messages . 1011
5.18 more — Display files on a page-by-page basis . 1015
5.19 newgrp — Change to a new group . 1044
5.20 nice — Invoke utility with altered scheduling system priority . 1048
5.21 nm — Write the name list of an object file. 1053
5.22 patch — Apply changes to files . 1062
5.23 ps — Report process status . 1071
5.24 renice — Set system scheduling priorities of running
processes. 1079
5.25 split — Split into pieces . 1085
5.26 strings — Find printable strings in files . 1090
5.27 tabs — Set terminal tabs . 1094
5.28 talk — Talk to another user . 1098
5.29 time — Time a simple command . 1104
5.30 tput — Change terminal characteristics . 1108
5.31 unalias — Remove alias definitions . 1112
5.32 unexpand — Convert spaces to tabs . 1115
5.33 uudecode — Decode a binary file . 1121
5.34 uuencode — Encode a binary file . 1125
ix

---------------------- Page: 13 ----------------------
5.35 vi — Screen-oriented (visual) display editor. 1129
5.36 who — Display who is on the system . 1177
5.37 write — Write to another user . 1180
Section 6: Software Development Utilities Option. 1187
6.1 ar — Create and maintain library archives . 1187
6.2 make — Maintain, update, and regenerate groups of programs . 1197
6.3 strip — Remove unnecessary information from executable
files . 1228
Annex A (normative) C Language Development Utilities Option . 1233
A.1 c89 — Compile Standard C programs . 1233
A.2 lex — Generate programs for lexical tasks . 1247
A.3 yacc — Yet another compiler compiler . 1266
Annex B (normative) C Language Bindings Option . 1287
B.1 C Language Definitions . 1287
B.2 C Numerical Limits . 1288
B.3 C Binding for Shell Command Interface . 1291
B.4 C Binding for Access Environment Variables . 1295
B.5 C Binding for Regular Expression Matching . 1295
B.6 C Binding for Match Filename or Pathname. 1314
B.7 C Binding for Command Option Parsing . 1319
B.8 C Binding for Generate Pathnames Matching a Pattern. 1322
B.9 C Binding for Perform Word Expansions . 1330
B.10 C Binding for Get POSIX Configurable Variables . 1333
B.11 C Binding for Locale Control . 1336
Annex C (normative) FORTRAN Development Utilities Option . 1337
C.1 asa — Interpret carriage control characters . 1337
C.2 fort77 — FORTRAN compiler . 1342
Annex D (informative) Bibliography . 1355
Identifier Index . 1359
Alphabetic Topical Index . 1365
Acknowledgments . 1401
x

---------------------- Page: 14 ----------------------
Information Technology—
Test Methods for Measuring Conformance

to POSIX — Part 2: Shell and Utilities
Interfaces
Section 1: General
1.1 Scope
This document defines a standard for test methods for the interface to command
interpretation, or ‘‘shell,’’ services and common utility programs for application
programs. These test methods are derived from the definitions contained in
ISO/IEC 9945-2:1993 (IEEE Std 1003.2-1992) {9}, hereinafter referred to as
‘‘POSIX.2 {9}.’’ The services and programs described in POSIX.2 {9} are comple-
mentary to those specified by ISO/IEC 9945-1:1990 (IEEE Std 1003.1-1990) {8},
hereinafter referred to as ‘‘POSIX.1 {8}.’’
This standard has been designed to be used by both verification suite authors and
system implementors. However, it is intended to be a reference document and not
a tutorial on the construction of verification suites or implementations.
1.2 Normative References
The following standards contain provisions that, through references in this text,
constitute provisions of this standard. At the time of publication, the editions indi-
cated were valid. All standards are subject to revision, and parties to agreements
based on this standard are encouraged to investigate the possibility of applying
the most recent editions of the standards listed below. Members of IEC and ISO
maintain registers of currently valid International Standards.
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.