blob: d9fa116b8f34693ac9726db46b93b88666655fdf [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 | |
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200181dd Busybox specific options:
Denys Vlasenko145512c2009-06-12 15:32:51 +0200182 conv=fsync
David Krakov29ec1162009-05-26 19:42:34 -0400183
184df POSIX options
185 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200186 -P | yes | yes |
187 -k | yes | yes |
188 -t | no | no |
189df Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400190 -a, -m, -B SIZE, -i, -h
Denys Vlasenko145512c2009-06-12 15:32:51 +0200191Remark:
Denys Vlasenkocd3dd422009-06-15 09:16:27 +0200192- 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 -0400193
194diff POSIX options
195 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200196 -C n | no | no |
197 -U n | yes | |
198 -b | yes | |
199 -c | no | no |
200 -e | no | no |
201 -f | no | no |
202 -r | yes | |
203 -u | no | no |
204diff Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400205 -d, -a, -s, -t, -L, -N, -i, -T, -w, -q, -S
206
207dirname POSIX options: None
208dirname Busybox specific options: None
209
210du POSIX options
211 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200212 -H | yes | |
213 -L | yes | |
214 -a | yes | |
215 -k | yes | |
216 -s | yes | |
217 -x | yes | |
218du Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400219 -c, -m, -h, -d N, -l
220
Denys Vlasenko145512c2009-06-12 15:32:51 +0200221
David Krakov29ec1162009-05-26 19:42:34 -0400222echo POSIX options: None
Denys Vlasenko145512c2009-06-12 15:32:51 +0200223 option | exists | compliant | remarks
224 -n | yes | yes | The result of -n is "implementation-defined"
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200225echo Busybox specific options:
Denys Vlasenko145512c2009-06-12 15:32:51 +0200226 -e, -E
David Krakov29ec1162009-05-26 19:42:34 -0400227
228ed POSIX options
229 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200230 -p string | no | no |
231 -s | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400232ed Busybox specific options: None
233
234env POSIX options
235 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200236 -i | no | no |
237env Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400238 -u, -, -i
239
240expand POSIX options
241 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200242 -t tablist | yes | yes |
243expand Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400244 --tabs=N, -i, --initial
245
Denys Vlasenko145512c2009-06-12 15:32:51 +0200246expr POSIX operations:
247 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200248 | | yes | yes |
249 & | 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 (expr) | yes | yes |
263 integer | yes | yes |
264 string | yes | yes |
265expr Busybox specific operations:
Denys Vlasenko145512c2009-06-12 15:32:51 +0200266 match, substr, index, length, quote
David Krakov29ec1162009-05-26 19:42:34 -0400267
268false POSIX options: None
269false Busybox specific options: None
270
271find POSIX options
272 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200273 -H | no | no |
274 -L | no | no |
275find Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400276 -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]
277
278fold POSIX options
279 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200280 -b | yes | yes |
281 -s | yes | yes |
282 -w width | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400283fold Busybox specific options: None
284
285fuser POSIX options
286 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200287 -c | no | no |
288 -f | no | no |
289 -u | no | no |
290fuser Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400291 -m, -k, -4, -SIGNAL, -6, -s
292
293grep POSIX options
294 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200295 -E | yes | |
296 -F | yes | |
297 -c | yes | |
298 -e pattern_list | yes | |
299 -f pattern_file | yes | |
300 -i | yes | |
301 -l | yes | |
302 -n | yes | |
303 -q | yes | |
304 -s | yes | |
305 -v | yes | |
306 -x | no | no |
307grep Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400308 -A, -C, -B, -L, -H, -o, -h, -w, -r, -z, -m MAX
309
310head POSIX options
311 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200312 -n number | yes | yes |
313head Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400314 -v, -c NUM, -q
315
316id POSIX options
317 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200318 -G | yes | yes |
319 -g | yes | yes |
320 -n | yes | yes |
321 -r | yes | yes |
322 -u | yes | yes |
323id Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400324 -Z
325
326ipcrm POSIX options
327 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200328 -M shmkey | no | no |
329 -Q msgkey | no | no |
330 -S semkey | no | no |
331 -m shmid | no | no |
332 -q msgid | no | no |
333 -s semid | no | no |
334ipcrm Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400335 -mM, -qQ, -sS
336
337ipcs POSIX options
338 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200339 -a | yes | |
340 -b | no | no |
341 -c | yes | |
342 -m | yes | |
343 -o | no | no |
344 -p | yes | |
345 -q | yes | |
346 -s | yes | |
347 -t | yes | |
348ipcs Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400349 -l, -i, -u
350
351kill POSIX options
352 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200353 -l | yes | yes |
354 -s signal_name | yes | yes |
355 -signal_name | yes | yes |
356 -signal_number | yes | yes |
357kill Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400358 -q, -o
359
360ln POSIX options
361 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200362 -L | no | no |
363 -P | no | no |
364 -f | yes | yes |
365 -s | yes | yes |
366ln Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400367 -S suf, -n, -b
368
369logger POSIX options: None
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200370logger Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400371 -p PRIO, -t TAG, -s
372
373logname POSIX options: None
374logname Busybox specific options: None
375
376ls POSIX options
377 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200378 -1 | yes | yes |
379 -A | yes | yes |
380 -C | yes | yes |
Denys Vlasenko145512c2009-06-12 15:32:51 +0200381 -F | yes | yes | And more: '=' for sockets (not defined by POSIX)
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200382 -H | no | no |
Denys Vlasenko145512c2009-06-12 15:32:51 +0200383 -L | yes | yes | But coloring may be wrong (at least POSIX does not require correct colors :) )
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200384 -R | yes | yes |
385 -S | yes | yes |
386 -a | yes | yes |
Denys Vlasenko145512c2009-06-12 15:32:51 +0200387 -c | yes | no | Sorts output with '-l' (should only show ctime with '-l', and sort only with '-t')
388 -d | yes | no | When invoked together with '-L' should read symbolic links, and doesn't
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200389 -f | no | no |
390 -g | no | no |
391 -i | yes | yes |
Denys Vlasenko145512c2009-06-12 15:32:51 +0200392 -k | yes | no | Does something completely unrelated! (Lists security context instead of specifying block size)
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200393 -l | yes | yes |
394 -m | no | no |
Denys Vlasenko145512c2009-06-12 15:32:51 +0200395 -n | yes | no | Works correctly only together with '-l' (but POSIX requires '-l' to be implicitly assumed)
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200396 -o | no | no |
397 -p | yes | yes |
398 -q | no | no |
399 -r | yes | yes |
400 -s | yes | yes |
401 -t | yes | yes |
402 -u | yes | yes |
403 -x | yes | yes |
404ls Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400405 --color, -T NUM, -K, -X, -Z, -e, -h, -v, -w NUM
406
407man POSIX options
408 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200409 -k | no | no |
410man Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400411 -a Display all pages
412
413
414mesg POSIX options: None
415mesg Busybox specific options: None
416
417mkdir POSIX options
418 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200419 -m mode | yes | yes |
420 -p | yes | yes |
421mkdir Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400422 -Z
423
424mkfifo POSIX options
425 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200426 -m mode | yes | yes |
427mkfifo Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400428 -Z
429
430more POSIX options
431 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200432 -c | no | no |
433 -e | no | no |
434 -i | no | no |
435 -n number | no | no |
436 -p command | no | no |
437 -s | no | no |
438 -t tagstring | no | no |
439 -u | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400440more Busybox specific options: None
441
442mv POSIX options
443 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200444 -f | yes | yes |
445 -i | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400446mv Busybox specific options: None
447
448nice POSIX options
449 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200450 -n increment | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400451nice Busybox specific options: None
452
453nohup POSIX options: None
454nohup Busybox specific options: None
455
456od POSIX options
457 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200458 -A address_base | no | no |
459 -N count | no | no |
460 -b | no | no |
461 -c | no | no |
462 -d | no | no |
463 -j skip | no | no |
464 -o | no | no |
465 -s | no | no |
466 -t type_string | no | no |
467 -v | no | no |
468 -x | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400469od Busybox specific options: None
470
471patch POSIX options
472 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200473 -D define | no | no |
474 -N | no | no |
475 -R | yes | yes |
476 -b | no | no |
477 -c | no | no |
478 -d dir | no | no |
479 -e | no | no |
480 -i patchfile | yes | yes |
481 -l | no | no |
482 -n | no | no |
483 -o outfile | no | no |
484 -p num | yes | yes |
485 -r rejectfile | no | no |
486 -u | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400487patch Busybox specific options: None
488
489printf POSIX options: None
490printf Busybox specific options: None
491
492ps POSIX options
493 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200494 -A | no | no |
495 -G grouplist | no | no |
496 -U userlist | no | no |
497 -a | no | no |
498 -d | no | no |
499 -e | no | no |
500 -f | no | no |
501 -g grouplist | no | no |
502 -l | no | no |
503 -n namelist | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400504 -o format | yes | no | not supported: ruser, group, rgroup, pcpu
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200505 -p proclist | no | no |
506 -t termlist | no | no |
507 -u userlist | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400508ps Busybox specific options: None
509
510pwd POSIX options
511 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200512 -L | no | no |
513 -P | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400514pwd Busybox specific options: None
515
516renice POSIX options
517 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200518 -g | yes | yes |
Denys Vlasenko145512c2009-06-12 15:32:51 +0200519 -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 +0200520 -p | yes | yes |
521 -u | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400522renice Busybox specific options: None
523
524rm POSIX options
525 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200526 -R | yes | yes |
527 -f | yes | yes |
528 -i | yes | yes |
529 -r | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400530rm Busybox specific options: None
531
532rmdir POSIX options
533 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200534 -p | yes | yes |
535rmdir Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400536 --parents
537
538sed POSIX options
539 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200540 -e script | yes | |
541 -f script_file | yes | |
542 -n | yes | |
543sed Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400544 -i, -r
545
546sh POSIX options
547 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200548 -c | no | no |
549 -i | no | no |
550 -s | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400551sh Busybox specific options: None
552
553sleep POSIX options: None
554sleep Busybox specific options: None
555
556sort POSIX options
557 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200558 -C | no | no |
559 -b | yes | yes |
560 -c | yes | yes |
561 -d | yes | yes |
562 -f | yes | yes |
Denys Vlasenko145512c2009-06-12 15:32:51 +0200563 -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 +0200564 -k keydef | yes | |
565 -m | no | no |
566 -n | yes | yes |
567 -o output | yes | yes |
568 -r | yes | yes |
569 -t char | yes | |
570 -u | yes | yes |
571sort Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400572 -mST, -g, -M, -s, -z
573
574split POSIX options
575 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200576 -a suffix_length | yes | yes |
577 -b n | yes | yes |
578 -b nk | yes | yes |
579 -b nm | yes | yes |
580 -l line_count | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400581split Busybox specific options: None
582
583strings POSIX options
584 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200585 -a | yes | yes |
586 -n number | yes | yes |
587 -t format | no | no |
588strings Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400589 -o, -f
590
591stty POSIX options
592 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200593 -a | yes | yes |
594 -g | yes | yes |
595stty Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400596 -F DEVICE
597
598tail POSIX options
599 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200600 -c number | yes | yes |
601 -f | yes | yes |
602 -n number | yes | yes |
603tail Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400604 -v, -q, -s SEC
605
606tee POSIX options
607 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200608 -a | yes | yes |
609 -i | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400610tee Busybox specific options: None
611
612test POSIX options: None
613test Busybox specific options: None
614
615time POSIX options
616 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200617 -p | no | no |
618time Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400619 -v
620
621touch POSIX options
622 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200623 -a | no | no |
624 -c | yes | yes |
625 -d date_time | no | no |
626 -m | no | no |
627 -r ref_file | no | no |
628 -t time | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400629touch Busybox specific options: None
630
631tr POSIX options
632 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200633 -C | no | no |
634 -c | yes | yes |
635 -d | yes | yes |
636 -s | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400637tr Busybox specific options: None
638
639true POSIX options: None
640true Busybox specific options: None
641
642tty POSIX options: None
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200643tty Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400644 -s
645
646uname POSIX options
647 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200648 -a | yes | yes |
649 -m | yes | yes |
650 -n | yes | yes |
651 -r | yes | yes |
652 -s | yes | yes |
653 -v | yes | yes |
654uname Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400655 -p
656
657uncompress POSIX options
658 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200659 -c | yes | yes |
660 -f | yes | yes |
661 -v | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400662uncompress Busybox specific options: None
663
664unexpand POSIX options
665 option | exists | compliant | remarks
Denys Vlasenko145512c2009-06-12 15:32:51 +0200666 -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 +0200667 -t tablist | yes | yes |
668unexpand Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400669 --tabs=N, -f, --first-only, --all
670
671uniq POSIX options
672 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200673 -c | yes | yes |
674 -d | yes | yes |
675 -f fields | yes | yes |
676 -s chars | yes | yes |
677 -u | yes | yes |
678uniq Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400679 -w N
680
681uudecode POSIX options
682 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200683 -o outfile | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400684uudecode Busybox specific options: None
685
686uuencode POSIX options
687 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200688 -m | yes | yes |
David Krakov29ec1162009-05-26 19:42:34 -0400689uuencode Busybox specific options: None
690
691vi POSIX options
692 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200693 -R | yes | |
694 -c command | yes | |
695 -r | no | no |
696 -t tagstring | no | no |
697 -w size | no | no |
698vi Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400699 -H
700
701wc POSIX options
702 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200703 -c | yes | yes |
704 -l | yes | yes |
705 -m | no | no |
706 -w | yes | yes |
707wc Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400708 -L
709
710who POSIX options
711 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200712 -H | no | no |
713 -T | no | no |
Denys Vlasenko145512c2009-06-12 15:32:51 +0200714 -a | yes | no | just shows all
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200715 -b | no | no |
716 -d | no | no |
717 -l | no | no |
718 -m | no | no |
719 -p | no | no |
720 -q | no | no |
721 -r | no | no |
722 -s | no | no |
723 -t | no | no |
724 -u | no | no |
David Krakov29ec1162009-05-26 19:42:34 -0400725who Busybox specific options: None
726
727xargs POSIX options
728 option | exists | compliant | remarks
Denys Vlasenko252ccba2009-07-19 01:09:42 +0200729 -E eofstr | no | no |
730 -I replstr | no | no |
731 -L number | no | no |
732 -n number | yes | yes |
733 -p | yes | yes |
734 -s size | yes | yes |
735 -t | yes | yes |
736 -x | yes | yes |
737xargs Busybox specific options:
David Krakov29ec1162009-05-26 19:42:34 -0400738 -e[STR], -0, -r
739
740zcat POSIX options: None
741zcat Busybox specific options: None
742