blob: c0582dc231db964e993efde5a4e768273f8df1cf [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,
25 mailx, newgrp, nl, paste, pathchk, pax, pr, qalter, qdel, qhold, qmove,
26 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
472patch POSIX options
473 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200474 -D define | no | no |
475 -N | no | no |
476 -R | yes | yes |
477 -b | no | no |
478 -c | no | no |
479 -d dir | no | no |
480 -e | no | no |
481 -i patchfile | yes | yes |
482 -l | no | no |
483 -n | no | no |
484 -o outfile | no | no |
485 -p num | yes | yes |
486 -r rejectfile | no | no |
487 -u | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400488patch Busybox specific options: None
489
490printf POSIX options: None
491printf Busybox specific options: None
492
493ps POSIX options
494 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200495 -A | no | no |
496 -G grouplist | no | no |
497 -U userlist | no | no |
498 -a | no | no |
499 -d | no | no |
500 -e | no | no |
501 -f | no | no |
502 -g grouplist | no | no |
503 -l | no | no |
504 -n namelist | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400505 -o format | yes | no | not supported: ruser, group, rgroup, pcpu
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200506 -p proclist | no | no |
507 -t termlist | no | no |
508 -u userlist | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400509ps Busybox specific options: None
510
511pwd POSIX options
512 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200513 -L | no | no |
514 -P | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400515pwd Busybox specific options: None
516
517renice POSIX options
518 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200519 -g | yes | yes |
Denys Vlasenko145512c2009-06-12 15:32:51 +0200520 -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 +0200521 -p | yes | yes |
522 -u | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400523renice Busybox specific options: None
524
525rm POSIX options
526 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200527 -R | yes | yes |
528 -f | yes | yes |
529 -i | yes | yes |
530 -r | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400531rm Busybox specific options: None
532
533rmdir POSIX options
534 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200535 -p | yes | yes |
536rmdir Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400537 --parents
538
539sed POSIX options
540 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200541 -e script | yes | |
542 -f script_file | yes | |
543 -n | yes | |
544sed Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400545 -i, -r
546
547sh POSIX options
548 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200549 -c | no | no |
550 -i | no | no |
551 -s | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400552sh Busybox specific options: None
553
554sleep POSIX options: None
555sleep Busybox specific options: None
556
557sort POSIX options
558 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200559 -C | no | no |
560 -b | yes | yes |
561 -c | yes | yes |
562 -d | yes | yes |
563 -f | yes | yes |
Denys Vlasenko145512c2009-06-12 15:32:51 +0200564 -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 +0200565 -k keydef | yes | |
566 -m | no | no |
567 -n | yes | yes |
568 -o output | yes | yes |
569 -r | yes | yes |
570 -t char | yes | |
571 -u | yes | yes |
572sort Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400573 -mST, -g, -M, -s, -z
574
575split POSIX options
576 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200577 -a suffix_length | yes | yes |
578 -b n | yes | yes |
579 -b nk | yes | yes |
580 -b nm | yes | yes |
581 -l line_count | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400582split Busybox specific options: None
583
584strings POSIX options
585 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200586 -a | yes | yes |
587 -n number | yes | yes |
588 -t format | no | no |
589strings Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400590 -o, -f
591
592stty POSIX options
593 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200594 -a | yes | yes |
595 -g | yes | yes |
596stty Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400597 -F DEVICE
598
599tail POSIX options
600 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200601 -c number | yes | yes |
602 -f | yes | yes |
603 -n number | yes | yes |
604tail Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400605 -v, -q, -s SEC
606
607tee POSIX options
608 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200609 -a | yes | yes |
610 -i | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400611tee Busybox specific options: None
612
613test POSIX options: None
614test Busybox specific options: None
615
616time POSIX options
617 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200618 -p | no | no |
619time Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400620 -v
621
622touch POSIX options
623 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200624 -a | no | no |
625 -c | yes | yes |
626 -d date_time | no | no |
627 -m | no | no |
628 -r ref_file | no | no |
629 -t time | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400630touch Busybox specific options: None
631
632tr POSIX options
633 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200634 -C | no | no |
635 -c | yes | yes |
636 -d | yes | yes |
637 -s | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400638tr Busybox specific options: None
639
640true POSIX options: None
641true Busybox specific options: None
642
643tty POSIX options: None
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200644tty Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400645 -s
646
647uname POSIX options
648 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200649 -a | yes | yes |
650 -m | yes | yes |
651 -n | yes | yes |
652 -r | yes | yes |
653 -s | yes | yes |
654 -v | yes | yes |
655uname Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400656 -p
657
658uncompress POSIX options
659 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200660 -c | yes | yes |
661 -f | yes | yes |
662 -v | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400663uncompress Busybox specific options: None
664
665unexpand POSIX options
666 option | exists | compliant | remarks
Denys Vlasenko145512c2009-06-12 15:32:51 +0200667 -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 +0200668 -t tablist | yes | yes |
669unexpand Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400670 --tabs=N, -f, --first-only, --all
671
672uniq POSIX options
673 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200674 -c | yes | yes |
675 -d | yes | yes |
676 -f fields | yes | yes |
677 -s chars | yes | yes |
678 -u | yes | yes |
679uniq Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400680 -w N
681
682uudecode POSIX options
683 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200684 -o outfile | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400685uudecode Busybox specific options: None
686
687uuencode POSIX options
688 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200689 -m | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400690uuencode Busybox specific options: None
691
692vi POSIX options
693 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200694 -R | yes | |
695 -c command | yes | |
696 -r | no | no |
697 -t tagstring | no | no |
698 -w size | no | no |
699vi Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400700 -H
701
702wc POSIX options
703 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200704 -c | yes | yes |
705 -l | yes | yes |
706 -m | no | no |
707 -w | yes | yes |
708wc Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400709 -L
710
711who POSIX options
712 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200713 -H | no | no |
714 -T | no | no |
Denys Vlasenko145512c2009-06-12 15:32:51 +0200715 -a | yes | no | just shows all
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200716 -b | no | no |
717 -d | no | no |
718 -l | no | no |
719 -m | no | no |
720 -p | no | no |
721 -q | no | no |
722 -r | no | no |
723 -s | no | no |
724 -t | no | no |
725 -u | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400726who Busybox specific options: None
727
728xargs POSIX options
729 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200730 -E eofstr | no | no |
731 -I replstr | no | no |
732 -L number | no | no |
733 -n number | yes | yes |
734 -p | yes | yes |
735 -s size | yes | yes |
736 -t | yes | yes |
737 -x | yes | yes |
738xargs Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400739 -e[STR], -0, -r
740
741zcat POSIX options: None
742zcat Busybox specific options: None