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