blob: 8b9112020716ba1e2881898409a869da84cc8cb6 [file] [log] [blame]
David Krakov29ec1162009-05-26 19:42:34 -04001
2Busybox POSIX conformance table
3
4See POSIX documentation (1003.1-2008) here:
5http://www.opengroup.org/onlinepubs/9699919799/
6And the complete list of all utilities that POSIX covers:
Denys Vlasenko145512c2009-06-12 15:32:51 +02007http://www.opengroup.org/onlinepubs/9699919799/idx/utilities.html
David Krakov29ec1162009-05-26 19:42:34 -04008
Denys Vlasenko252ccba2009-07-19 01:09:42 +02009This listing is a work in progress, and currently only covers
Denys Vlasenko5370bfb2009-09-06 02:58:59 +020010tool options (not operands, environment variables, return codes, etc..).
David Krakov29ec1162009-05-26 19:42:34 -040011For each option it is set if it (a) exists and (b) compliant to POSIX 2008.
12Some options exist but there is no value in the 'compliant' column: that
Denys Vlasenko252ccba2009-07-19 01:09:42 +020013means no one has yet bothered to make sure that the option does what it is
David Krakov29ec1162009-05-26 19:42:34 -040014required to do.
15
16-----------------------------------------------
17
18POSIX Tools supported only as shell built-ins (ash shell):
Denys Vlasenko252ccba2009-07-19 01:09:42 +020019 alias, bg, cd, fg, getopts, hash, jobs, read, type, umask, ulimit,
David Krakov29ec1162009-05-26 19:42:34 -040020 unalias, wait, write
21
22POSIX Tools not supported:
Denys Vlasenko252ccba2009-07-19 01:09:42 +020023 asa, at, batch, bc, c99, command, compress, csplit, ex, fc, file,
24 gencat, getconf, iconv, join, link, locale, localedef, lp, m4,
Maxime Costed2383f52017-03-23 17:35:20 +010025 mailx, newgrp, nl, pathchk, pax, pr, qalter, qdel, qhold, qmove,
Denys Vlasenko252ccba2009-07-19 01:09:42 +020026 qmsg, qrerun, qrls, qselect, qsig, qstat, qsub, tabs, talk, tput,
David Krakov29ec1162009-05-26 19:42:34 -040027 tsort, unlink, uucp, uustat, uux
28
29POSIX Tools not supported (DEVELOPMENT):
Denys Vlasenko252ccba2009-07-19 01:09:42 +020030 admin, cflow, ctags, cxref, delta, fort77, get, lex, make, nm, prs, rmdel,
David Krakov29ec1162009-05-26 19:42:34 -040031 sact, sccs, strip, unget, val, what, yacc
32
33
34POSIX Tools supported:
35
Denys Vlasenko252ccba2009-07-19 01:09:42 +020036Note: echo, printf, kill, pwd documented here as stand-alone applets,
David Krakov29ec1162009-05-26 19:42:34 -040037 not as ash built-ins.
38
39
Denys Vlasenko145512c2009-06-12 15:32:51 +020040ar POSIX options ********************* Failed to recognize zip & tar (did not compare to regular ar)
David Krakov29ec1162009-05-26 19:42:34 -040041 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +020042 -C | no | no |
43 -T | no | no |
44 -a | no | no |
45 -b | no | no |
46 -c | no | no |
47 -d | no | no |
48 -i | no | no |
49 -m | no | no |
50 -p | yes | |
51 -q | no | no |
52 -r | no | no |
53 -s | no | no |
54 -t | yes | |
55 -u | no | no |
56 -v | yes | |
57 -x | yes | |
58ar Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -040059 -o
60
61awk POSIX options
62 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +020063 -F ERE | yes | |
64 -f progfile | yes | |
65 -v assignment | yes | |
David Krakov29ec1162009-05-26 19:42:34 -040066awk Busybox specific options: None
67
68basename POSIX options: None
69basename Busybox specific options: None
70
71cal POSIX options: None
Denys Vlasenko252ccba2009-07-19 01:09:42 +020072cal Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -040073 -y, -j
74
75cat POSIX options
76 option | exists | compliant | remarks
77 -u | yes | no | option is ignored
78cat Busybox specific options: None
79
80chgrp POSIX options
81 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +020082 -H | yes | |
83 -L | yes | |
84 -P | yes | |
85 -R | yes | |
86 -h | yes | |
87chgrp Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -040088 -f, -c, -v
89
90chmod POSIX options
91 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +020092 -R | yes | yes |
93chmod Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -040094 -f, -v, -c
95
Denys Vlasenko145512c2009-06-12 15:32:51 +020096chown POSIX options *********************************************
David Krakov29ec1162009-05-26 19:42:34 -040097 option | exists | compliant | remarks
Denys Vlasenko145512c2009-06-12 15:32:51 +020098 -H | yes | | It seems like all flags are supported (according to printout), but
99 -L | yes | | it fails to work on my machine
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200100 -P | yes | |
101 -R | yes | |
102 -h | yes | |
103chown Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400104 -f, -c, -v
105
106cksum POSIX options: None
107cksum Busybox specific options: None
108
109cmp POSIX options
110 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200111 -l | yes | yes |
112 -s | yes | yes |
113cmp Busybox specific options:
114
David Krakov29ec1162009-05-26 19:42:34 -0400115
116comm POSIX options
117 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200118 -1 | yes | yes |
119 -2 | yes | yes |
120 -3 | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400121comm Busybox specific options: None
122
123cp POSIX options
124 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200125 -H | yes | yes |
126 -L | yes | yes |
127 -P | yes | yes |
128 -R | yes | yes |
129 -f | yes | yes |
130 -i | yes | yes |
131 -p | yes | yes |
132cp Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400133 -d, -a, -s, -c, -r, -l
134
135crontab POSIX options
136 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200137 -e | yes | |
138 -l | yes | |
139 -r | yes | |
140crontab Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400141 -u, -c
142
143cut POSIX options
144 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200145 -b list | yes | yes |
146 -c list | yes | yes |
147 -d delim | yes | yes |
148 -f list | yes | yes |
149 -n | yes | yes |
150 -s | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400151cut Busybox specific options: None
152
153date POSIX options
154 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200155 -u | yes | yes |
156date Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400157 -I[SPEC], -d TIME, -r FILE, -R, -D FMT
158
Denys Vlasenko145512c2009-06-12 15:32:51 +0200159dd POSIX options:
160 option | exists | compliant | remarks
161 if | yes | |
162 of | yes | |
163 ibs | yes | |
164 obs | yes | |
165 bs | yes | |
166 cbs | no | no |
167 skip | yes | |
168 seek | yes | |
169 count | yes | |
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200170 conv=ascii | no | no |
Denys Vlasenko145512c2009-06-12 15:32:51 +0200171 conv=ebcdic | no | no |
172 conv=ibm | no | no |
173 conv=block | no | no |
174 conv=unblock | no | no |
175 conv=lcase | no | no |
176 conv=ucase | no | no |
177 conv=swap | no | no |
178 conv=noerror | yes | |
179 conv=notrunc | yes | |
180 conv=sync | yes | |
Rafał Miłeckic30a5b12016-02-01 02:17:28 +0100181 iflag=skip_bytes| yes | |
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200182dd Busybox specific options:
Denys Vlasenko145512c2009-06-12 15:32:51 +0200183 conv=fsync
David Krakov29ec1162009-05-26 19:42:34 -0400184
185df POSIX options
186 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200187 -P | yes | yes |
188 -k | yes | yes |
189 -t | no | no |
190df Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400191 -a, -m, -B SIZE, -i, -h
Denys Vlasenko145512c2009-06-12 15:32:51 +0200192Remark:
Denys Vlasenkocd3dd422009-06-15 09:16:27 +0200193- It seems that GNU df does not round percents up in its output (thus its results are a bit different)
David Krakov29ec1162009-05-26 19:42:34 -0400194
195diff POSIX options
196 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200197 -C n | no | no |
198 -U n | yes | |
199 -b | yes | |
200 -c | no | no |
201 -e | no | no |
202 -f | no | no |
203 -r | yes | |
204 -u | no | no |
205diff Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400206 -d, -a, -s, -t, -L, -N, -i, -T, -w, -q, -S
207
208dirname POSIX options: None
209dirname Busybox specific options: None
210
211du POSIX options
212 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200213 -H | yes | |
214 -L | yes | |
215 -a | yes | |
216 -k | yes | |
217 -s | yes | |
218 -x | yes | |
219du Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400220 -c, -m, -h, -d N, -l
221
Denys Vlasenko145512c2009-06-12 15:32:51 +0200222
David Krakov29ec1162009-05-26 19:42:34 -0400223echo POSIX options: None
Denys Vlasenko145512c2009-06-12 15:32:51 +0200224 option | exists | compliant | remarks
225 -n | yes | yes | The result of -n is "implementation-defined"
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200226echo Busybox specific options:
Denys Vlasenko145512c2009-06-12 15:32:51 +0200227 -e, -E
David Krakov29ec1162009-05-26 19:42:34 -0400228
229ed POSIX options
230 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200231 -p string | no | no |
232 -s | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400233ed Busybox specific options: None
234
235env POSIX options
236 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200237 -i | no | no |
238env Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400239 -u, -, -i
240
241expand POSIX options
242 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200243 -t tablist | yes | yes |
244expand Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400245 --tabs=N, -i, --initial
246
Denys Vlasenko145512c2009-06-12 15:32:51 +0200247expr POSIX operations:
248 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200249 | | yes | yes |
250 & | yes | yes |
251 = | yes | yes |
252 > | yes | yes |
253 >= | yes | yes |
254 <= | yes | yes |
255 < | yes | yes |
256 != | yes | yes |
257 + | yes | yes |
258 - | yes | yes |
259 * | yes | yes |
260 / | yes | yes |
261 % | yes | yes |
262 : | yes | yes |
263 (expr) | yes | yes |
264 integer | yes | yes |
265 string | yes | yes |
266expr Busybox specific operations:
Denys Vlasenko145512c2009-06-12 15:32:51 +0200267 match, substr, index, length, quote
David Krakov29ec1162009-05-26 19:42:34 -0400268
269false POSIX options: None
270false Busybox specific options: None
271
272find POSIX options
273 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200274 -H | no | no |
275 -L | no | no |
276find Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400277 -group NAME, -mtime DAYS, -print, -maxdepth N, -exec CMD ARG ;, -newer FILE, -context, -iname PATTERN, -follow, -depth, -xdev, -inum N, -type X, -print0, -mindepth N, -mmin MINS, -regex PATTERN, -prune, -path PATTERN, -user NAME, -delete, -perm NNN, -name PATTERN, -size N[bck]
278
279fold POSIX options
280 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200281 -b | yes | yes |
282 -s | yes | yes |
283 -w width | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400284fold Busybox specific options: None
285
286fuser POSIX options
287 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200288 -c | no | no |
289 -f | no | no |
290 -u | no | no |
291fuser Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400292 -m, -k, -4, -SIGNAL, -6, -s
293
294grep POSIX options
295 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200296 -E | yes | |
297 -F | yes | |
298 -c | yes | |
299 -e pattern_list | yes | |
300 -f pattern_file | yes | |
301 -i | yes | |
302 -l | yes | |
303 -n | yes | |
304 -q | yes | |
305 -s | yes | |
306 -v | yes | |
307 -x | no | no |
308grep Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400309 -A, -C, -B, -L, -H, -o, -h, -w, -r, -z, -m MAX
310
311head POSIX options
312 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200313 -n number | yes | yes |
314head Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400315 -v, -c NUM, -q
316
317id POSIX options
318 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200319 -G | yes | yes |
320 -g | yes | yes |
321 -n | yes | yes |
322 -r | yes | yes |
323 -u | yes | yes |
324id Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400325 -Z
326
327ipcrm POSIX options
328 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200329 -M shmkey | no | no |
330 -Q msgkey | no | no |
331 -S semkey | no | no |
332 -m shmid | no | no |
333 -q msgid | no | no |
334 -s semid | no | no |
335ipcrm Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400336 -mM, -qQ, -sS
337
338ipcs POSIX options
339 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200340 -a | yes | |
341 -b | no | no |
342 -c | yes | |
343 -m | yes | |
344 -o | no | no |
345 -p | yes | |
346 -q | yes | |
347 -s | yes | |
348 -t | yes | |
349ipcs Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400350 -l, -i, -u
351
352kill POSIX options
353 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200354 -l | yes | yes |
355 -s signal_name | yes | yes |
356 -signal_name | yes | yes |
357 -signal_number | yes | yes |
358kill Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400359 -q, -o
360
361ln POSIX options
362 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200363 -L | no | no |
364 -P | no | no |
365 -f | yes | yes |
366 -s | yes | yes |
367ln Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400368 -S suf, -n, -b
369
370logger POSIX options: None
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200371logger Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400372 -p PRIO, -t TAG, -s
373
374logname POSIX options: None
375logname Busybox specific options: None
376
377ls POSIX options
378 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200379 -1 | yes | yes |
380 -A | yes | yes |
381 -C | yes | yes |
Denys Vlasenko145512c2009-06-12 15:32:51 +0200382 -F | yes | yes | And more: '=' for sockets (not defined by POSIX)
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200383 -H | no | no |
Denys Vlasenko145512c2009-06-12 15:32:51 +0200384 -L | yes | yes | But coloring may be wrong (at least POSIX does not require correct colors :) )
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200385 -R | yes | yes |
386 -S | yes | yes |
387 -a | yes | yes |
Denys Vlasenko145512c2009-06-12 15:32:51 +0200388 -c | yes | no | Sorts output with '-l' (should only show ctime with '-l', and sort only with '-t')
389 -d | yes | no | When invoked together with '-L' should read symbolic links, and doesn't
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200390 -f | no | no |
391 -g | no | no |
392 -i | yes | yes |
Denys Vlasenko145512c2009-06-12 15:32:51 +0200393 -k | yes | no | Does something completely unrelated! (Lists security context instead of specifying block size)
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200394 -l | yes | yes |
395 -m | no | no |
Denys Vlasenko145512c2009-06-12 15:32:51 +0200396 -n | yes | no | Works correctly only together with '-l' (but POSIX requires '-l' to be implicitly assumed)
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200397 -o | no | no |
398 -p | yes | yes |
399 -q | no | no |
400 -r | yes | yes |
401 -s | yes | yes |
402 -t | yes | yes |
403 -u | yes | yes |
404 -x | yes | yes |
405ls Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400406 --color, -T NUM, -K, -X, -Z, -e, -h, -v, -w NUM
407
408man POSIX options
409 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200410 -k | no | no |
411man Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400412 -a Display all pages
413
414
415mesg POSIX options: None
416mesg Busybox specific options: None
417
418mkdir POSIX options
419 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200420 -m mode | yes | yes |
421 -p | yes | yes |
422mkdir Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400423 -Z
424
425mkfifo POSIX options
426 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200427 -m mode | yes | yes |
428mkfifo Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400429 -Z
430
431more POSIX options
432 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200433 -c | no | no |
434 -e | no | no |
435 -i | no | no |
436 -n number | no | no |
437 -p command | no | no |
438 -s | no | no |
439 -t tagstring | no | no |
440 -u | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400441more Busybox specific options: None
442
443mv POSIX options
444 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200445 -f | yes | yes |
446 -i | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400447mv Busybox specific options: None
448
449nice POSIX options
450 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200451 -n increment | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400452nice Busybox specific options: None
453
454nohup POSIX options: None
455nohup Busybox specific options: None
456
457od POSIX options
458 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200459 -A address_base | no | no |
460 -N count | no | no |
461 -b | no | no |
462 -c | no | no |
463 -d | no | no |
464 -j skip | no | no |
465 -o | no | no |
466 -s | no | no |
467 -t type_string | no | no |
468 -v | no | no |
469 -x | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400470od Busybox specific options: None
471
Maxime Costed2383f52017-03-23 17:35:20 +0100472paste POSIX options
473 option | exists | compliant | remarks
474 -d list | yes | yes |
475 -s | yes | yes |
476paste Busybox specific options: None
477
David Krakov29ec1162009-05-26 19:42:34 -0400478patch POSIX options
479 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200480 -D define | no | no |
481 -N | no | no |
482 -R | yes | yes |
483 -b | no | no |
484 -c | no | no |
485 -d dir | no | no |
486 -e | no | no |
487 -i patchfile | yes | yes |
488 -l | no | no |
489 -n | no | no |
490 -o outfile | no | no |
491 -p num | yes | yes |
492 -r rejectfile | no | no |
493 -u | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400494patch Busybox specific options: None
495
496printf POSIX options: None
497printf Busybox specific options: None
498
499ps POSIX options
500 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200501 -A | no | no |
502 -G grouplist | no | no |
503 -U userlist | no | no |
504 -a | no | no |
505 -d | no | no |
506 -e | no | no |
507 -f | no | no |
508 -g grouplist | no | no |
509 -l | no | no |
510 -n namelist | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400511 -o format | yes | no | not supported: ruser, group, rgroup, pcpu
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200512 -p proclist | no | no |
513 -t termlist | no | no |
514 -u userlist | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400515ps Busybox specific options: None
516
517pwd POSIX options
518 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200519 -L | no | no |
520 -P | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400521pwd Busybox specific options: None
522
523renice POSIX options
524 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200525 -g | yes | yes |
Denys Vlasenko145512c2009-06-12 15:32:51 +0200526 -n increment | yes | yes | Note POSIX allows only to run with this option (busybox also allows to run without '-n' and set niceness directly)
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200527 -p | yes | yes |
528 -u | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400529renice Busybox specific options: None
530
531rm POSIX options
532 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200533 -R | yes | yes |
534 -f | yes | yes |
535 -i | yes | yes |
536 -r | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400537rm Busybox specific options: None
538
539rmdir POSIX options
540 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200541 -p | yes | yes |
542rmdir Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400543 --parents
544
545sed POSIX options
546 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200547 -e script | yes | |
548 -f script_file | yes | |
549 -n | yes | |
550sed Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400551 -i, -r
552
553sh POSIX options
554 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200555 -c | no | no |
556 -i | no | no |
557 -s | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400558sh Busybox specific options: None
559
560sleep POSIX options: None
561sleep Busybox specific options: None
562
563sort POSIX options
564 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200565 -C | no | no |
566 -b | yes | yes |
567 -c | yes | yes |
568 -d | yes | yes |
569 -f | yes | yes |
Denys Vlasenko145512c2009-06-12 15:32:51 +0200570 -i | yes | yes | But is not like GNU sort, which isn't! (try to sort 'a\nA\nB\nb' with and without -f)
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200571 -k keydef | yes | |
572 -m | no | no |
573 -n | yes | yes |
574 -o output | yes | yes |
575 -r | yes | yes |
576 -t char | yes | |
577 -u | yes | yes |
578sort Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400579 -mST, -g, -M, -s, -z
580
581split POSIX options
582 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200583 -a suffix_length | yes | yes |
584 -b n | yes | yes |
585 -b nk | yes | yes |
586 -b nm | yes | yes |
587 -l line_count | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400588split Busybox specific options: None
589
590strings POSIX options
591 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200592 -a | yes | yes |
593 -n number | yes | yes |
594 -t format | no | no |
595strings Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400596 -o, -f
597
598stty POSIX options
599 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200600 -a | yes | yes |
601 -g | yes | yes |
602stty Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400603 -F DEVICE
604
605tail POSIX options
606 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200607 -c number | yes | yes |
608 -f | yes | yes |
609 -n number | yes | yes |
610tail Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400611 -v, -q, -s SEC
612
613tee POSIX options
614 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200615 -a | yes | yes |
616 -i | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400617tee Busybox specific options: None
618
619test POSIX options: None
620test Busybox specific options: None
621
622time POSIX options
623 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200624 -p | no | no |
625time Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400626 -v
627
628touch POSIX options
629 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200630 -a | no | no |
631 -c | yes | yes |
632 -d date_time | no | no |
633 -m | no | no |
634 -r ref_file | no | no |
635 -t time | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400636touch Busybox specific options: None
637
638tr POSIX options
639 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200640 -C | no | no |
641 -c | yes | yes |
642 -d | yes | yes |
643 -s | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400644tr Busybox specific options: None
645
646true POSIX options: None
647true Busybox specific options: None
648
649tty POSIX options: None
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200650tty Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400651 -s
652
653uname POSIX options
654 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200655 -a | yes | yes |
656 -m | yes | yes |
657 -n | yes | yes |
658 -r | yes | yes |
659 -s | yes | yes |
660 -v | yes | yes |
661uname Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400662 -p
663
664uncompress POSIX options
665 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200666 -c | yes | yes |
667 -f | yes | yes |
668 -v | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400669uncompress Busybox specific options: None
670
671unexpand POSIX options
672 option | exists | compliant | remarks
Denys Vlasenko145512c2009-06-12 15:32:51 +0200673 -a | yes | no | POSIX requires converting two or more spaces to tabs, busybox converts one or more spaces
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200674 -t tablist | yes | yes |
675unexpand Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400676 --tabs=N, -f, --first-only, --all
677
678uniq POSIX options
679 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200680 -c | yes | yes |
681 -d | yes | yes |
682 -f fields | yes | yes |
683 -s chars | yes | yes |
684 -u | yes | yes |
685uniq Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400686 -w N
687
688uudecode POSIX options
689 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200690 -o outfile | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400691uudecode Busybox specific options: None
692
693uuencode POSIX options
694 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200695 -m | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400696uuencode Busybox specific options: None
697
698vi POSIX options
699 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200700 -R | yes | |
701 -c command | yes | |
702 -r | no | no |
703 -t tagstring | no | no |
704 -w size | no | no |
705vi Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400706 -H
707
708wc POSIX options
709 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200710 -c | yes | yes |
711 -l | yes | yes |
712 -m | no | no |
713 -w | yes | yes |
714wc Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400715 -L
716
717who POSIX options
718 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200719 -H | no | no |
720 -T | no | no |
Denys Vlasenko145512c2009-06-12 15:32:51 +0200721 -a | yes | no | just shows all
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200722 -b | no | no |
723 -d | no | no |
724 -l | no | no |
725 -m | no | no |
726 -p | no | no |
727 -q | no | no |
728 -r | no | no |
729 -s | no | no |
730 -t | no | no |
731 -u | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400732who Busybox specific options: None
733
734xargs POSIX options
735 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200736 -E eofstr | no | no |
737 -I replstr | no | no |
738 -L number | no | no |
739 -n number | yes | yes |
740 -p | yes | yes |
741 -s size | yes | yes |
742 -t | yes | yes |
743 -x | yes | yes |
744xargs Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400745 -e[STR], -0, -r
746
747zcat POSIX options: None
748zcat Busybox specific options: None