xref: /plan9/sys/src/ape/cmd/README (revision 219b2ee8daee37f4aad58d63f21287faa8e4ffdc)
1This is an attempt to make the utilities specified in
2POSIX 1002.3 available, assuming /$objtype/ape/bin
3and /lib/rc/ape are bound to /bin before the regular
4bin directories.
5
6Here's a brief description of the status of these commands.
7
8EXECUTION ENVIRONMENT UTILITIES
9
10awk	Plan 9 awk.
11	system() uses rc instead of sh.
12
13basename POSIX conforming
14
15bc	Plan 9 bc.
16
17cat	Plan 9 cat.
18	no -u option (for byte-at-at-time)
19
20cd	shell builtins
21	doesn't use $HOME or $CDPATH
22
23chgrp	Plan 9 chgrp.
24	no -R option (for recursive chgrp).
25	only takes name, not number
26
27
28chmod	Plan 9 chmod.
29	no -R option (for recursive chmod).
30	no s (setuid) and X (conditional x) perms.
31	nonstandard a,l perms.
32
33chown	Always prints 'Permission denied' and fails.
34
35cksum	not implemented
36
37cmp	Plan 9 cmp.
38	nonstandard -L option
39	no line number printed; hex instead of octal for bytes
40
41comm	Plan 9 comm.
42
43command	not implemented
44
45cp	Plan 9 cp.
46	no -R and -r (recursive), -i (interactive), -p (preserve) options
47	nonstandard -z option
48
49cut	not implemented
50
51date	Plan 9 date.
52	no format option
53	nonstandard -n option
54
55dd	Plan 9 dd.
56
57diff	Plan 9 diff.
58	can't have both files directories
59	no -r (recursive) option
60	-c<n> instead of -c and -C <n> for context
61
62dirname	POSIX conforming
63
64echo	Plan 9 echo
65
66ed	Plan 9 ed
67	nonstandard b,wq commands
68
69env	not implemented
70
71expr	V10 expr (seems to be like POSIX)
72
73false	POSIX conforming
74
75find	not implemented
76
77fold	not implemented
78
79getconf	not implemented
80
81getopts	not implemented
82
83grep	script calling Plan 9 grep -G
84	s means q, should mean forget nonexistent files
85	nonstandard 1,b,L,q options
86
87head	not implemented
88
89id	not implemented
90
91join	not implemented
92
93kill	V10 kill
94	no -s signalname, no -l arg
95
96ln	not implemented
97
98locale	not implemented
99
100localedef not implemented
101
102logger	not implemented
103
104logname	not implemented
105
106lp	Plan 9 lp
107
108ls	Plan 9 ls
109
110mailx	not implemented
111
112mkdir	Plan 9 mkdir
113
114mkfifo	not implemented
115
116mv	Plan 9 mv
117
118nohup	not implemented
119
120od	not implemented
121
122paste	not implemented
123
124pathchk	not implemented
125
126pax	implemented
127
128pr	Plan 9 pr
129
130printf	not implemented
131
132pwd	Plan 9 pwd
133
134read	shell builtin
135
136rm	Plan 9 rm
137
138rmdir	script
139	no -p option
140
141sed	v10 sed
142
143sh	ksh93 -- POSIX compliant
144
145sleep	Plan 9 sleep
146
147sort	Plan 9 sort
148
149stty	POSIX compliant (sort of)
150
151tail	Plan 9 tail
152
153tee	Plan 9 tee
154
155test	Plan 9 test (POSIX compliant); copied as [
156
157touch	Plan 9 touch
158
159tr	Plan 9 tr
160
161true	POSIX compliant
162
163umask	noop
164
165SOFTWARE DEVELOPMENT UTILITIES (OPTIONAL)
166
167ar	script to call Plan9 ar, after arg conversion
168
169make	V10 make
170
171strip	not implemented
172
173C LANGUAGE DEVELOPMENT UTILITIES OPTION
174
175c89	script to APE environment cc (also avaiable as cc)
176
177lex	Plan 9 lex
178
179yacc	script to Plan 9 yacc
180
181General Bugs:
182The environment variables LANG, LC_ALL,
183LC_CTYPE, and LC_MESSAGES are ignored.
184
185The use of -- as an argument to stop option processing
186is generally not done.
187
188The many 'not implemented' functions will be implemented
189as scripts using them show up.
190