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