David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 1 | |
| 2 | Busybox POSIX conformance table |
| 3 | |
| 4 | See POSIX documentation (1003.1-2008) here: |
| 5 | http://www.opengroup.org/onlinepubs/9699919799/ |
| 6 | And the complete list of all utilities that POSIX covers: |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 7 | http://www.opengroup.org/onlinepubs/9699919799/idx/utilities.html |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 8 | |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 9 | This listing is a work in progress, and currently only covers |
Denys Vlasenko | 5370bfb | 2009-09-06 02:58:59 +0200 | [diff] [blame] | 10 | tool options (not operands, environment variables, return codes, etc..). |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 11 | For each option it is set if it (a) exists and (b) compliant to POSIX 2008. |
| 12 | Some options exist but there is no value in the 'compliant' column: that |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 13 | means no one has yet bothered to make sure that the option does what it is |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 14 | required to do. |
| 15 | |
| 16 | ----------------------------------------------- |
| 17 | |
| 18 | POSIX Tools supported only as shell built-ins (ash shell): |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 19 | alias, bg, cd, fg, getopts, hash, jobs, read, type, umask, ulimit, |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 20 | unalias, wait, write |
| 21 | |
| 22 | POSIX Tools not supported: |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 23 | asa, at, batch, bc, c99, command, compress, csplit, ex, fc, file, |
| 24 | gencat, getconf, iconv, join, link, locale, localedef, lp, m4, |
Maxime Coste | d2383f5 | 2017-03-23 17:35:20 +0100 | [diff] [blame] | 25 | mailx, newgrp, nl, pathchk, pax, pr, qalter, qdel, qhold, qmove, |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 26 | qmsg, qrerun, qrls, qselect, qsig, qstat, qsub, tabs, talk, tput, |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 27 | tsort, unlink, uucp, uustat, uux |
| 28 | |
| 29 | POSIX Tools not supported (DEVELOPMENT): |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 30 | admin, cflow, ctags, cxref, delta, fort77, get, lex, make, nm, prs, rmdel, |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 31 | sact, sccs, strip, unget, val, what, yacc |
| 32 | |
| 33 | |
| 34 | POSIX Tools supported: |
| 35 | |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 36 | Note: echo, printf, kill, pwd documented here as stand-alone applets, |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 37 | not as ash built-ins. |
| 38 | |
| 39 | |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 40 | ar POSIX options ********************* Failed to recognize zip & tar (did not compare to regular ar) |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 41 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 42 | -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 | | |
| 58 | ar Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 59 | -o |
| 60 | |
| 61 | awk POSIX options |
| 62 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 63 | -F ERE | yes | | |
| 64 | -f progfile | yes | | |
| 65 | -v assignment | yes | | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 66 | awk Busybox specific options: None |
| 67 | |
| 68 | basename POSIX options: None |
| 69 | basename Busybox specific options: None |
| 70 | |
| 71 | cal POSIX options: None |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 72 | cal Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 73 | -y, -j |
| 74 | |
| 75 | cat POSIX options |
| 76 | option | exists | compliant | remarks |
| 77 | -u | yes | no | option is ignored |
| 78 | cat Busybox specific options: None |
| 79 | |
| 80 | chgrp POSIX options |
| 81 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 82 | -H | yes | | |
| 83 | -L | yes | | |
| 84 | -P | yes | | |
| 85 | -R | yes | | |
| 86 | -h | yes | | |
| 87 | chgrp Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 88 | -f, -c, -v |
| 89 | |
| 90 | chmod POSIX options |
| 91 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 92 | -R | yes | yes | |
| 93 | chmod Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 94 | -f, -v, -c |
| 95 | |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 96 | chown POSIX options ********************************************* |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 97 | option | exists | compliant | remarks |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 98 | -H | yes | | It seems like all flags are supported (according to printout), but |
| 99 | -L | yes | | it fails to work on my machine |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 100 | -P | yes | | |
| 101 | -R | yes | | |
| 102 | -h | yes | | |
| 103 | chown Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 104 | -f, -c, -v |
| 105 | |
| 106 | cksum POSIX options: None |
| 107 | cksum Busybox specific options: None |
| 108 | |
| 109 | cmp POSIX options |
| 110 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 111 | -l | yes | yes | |
| 112 | -s | yes | yes | |
| 113 | cmp Busybox specific options: |
| 114 | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 115 | |
| 116 | comm POSIX options |
| 117 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 118 | -1 | yes | yes | |
| 119 | -2 | yes | yes | |
| 120 | -3 | yes | yes | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 121 | comm Busybox specific options: None |
| 122 | |
| 123 | cp POSIX options |
| 124 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 125 | -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 | |
| 132 | cp Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 133 | -d, -a, -s, -c, -r, -l |
| 134 | |
| 135 | crontab POSIX options |
| 136 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 137 | -e | yes | | |
| 138 | -l | yes | | |
| 139 | -r | yes | | |
| 140 | crontab Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 141 | -u, -c |
| 142 | |
| 143 | cut POSIX options |
| 144 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 145 | -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 Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 151 | cut Busybox specific options: None |
| 152 | |
| 153 | date POSIX options |
| 154 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 155 | -u | yes | yes | |
| 156 | date Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 157 | -I[SPEC], -d TIME, -r FILE, -R, -D FMT |
| 158 | |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 159 | dd 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 Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 170 | conv=ascii | no | no | |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 171 | 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 | | |
Nicholas Clark | 77a6678 | 2018-01-25 19:00:19 +0100 | [diff] [blame] | 181 | dd compatibility options: |
| 182 | conv=fsync | yes | | |
Rafał Miłecki | c30a5b1 | 2016-02-01 02:17:28 +0100 | [diff] [blame] | 183 | iflag=skip_bytes| yes | | |
Nicholas Clark | 77a6678 | 2018-01-25 19:00:19 +0100 | [diff] [blame] | 184 | iflag=fullblock | yes | | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 185 | |
| 186 | df POSIX options |
| 187 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 188 | -P | yes | yes | |
| 189 | -k | yes | yes | |
| 190 | -t | no | no | |
| 191 | df Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 192 | -a, -m, -B SIZE, -i, -h |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 193 | Remark: |
Denys Vlasenko | cd3dd42 | 2009-06-15 09:16:27 +0200 | [diff] [blame] | 194 | - It seems that GNU df does not round percents up in its output (thus its results are a bit different) |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 195 | |
| 196 | diff POSIX options |
| 197 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 198 | -C n | no | no | |
| 199 | -U n | yes | | |
| 200 | -b | yes | | |
| 201 | -c | no | no | |
| 202 | -e | no | no | |
| 203 | -f | no | no | |
| 204 | -r | yes | | |
| 205 | -u | no | no | |
| 206 | diff Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 207 | -d, -a, -s, -t, -L, -N, -i, -T, -w, -q, -S |
| 208 | |
| 209 | dirname POSIX options: None |
| 210 | dirname Busybox specific options: None |
| 211 | |
| 212 | du POSIX options |
| 213 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 214 | -H | yes | | |
| 215 | -L | yes | | |
| 216 | -a | yes | | |
| 217 | -k | yes | | |
| 218 | -s | yes | | |
| 219 | -x | yes | | |
| 220 | du Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 221 | -c, -m, -h, -d N, -l |
| 222 | |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 223 | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 224 | echo POSIX options: None |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 225 | option | exists | compliant | remarks |
| 226 | -n | yes | yes | The result of -n is "implementation-defined" |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 227 | echo Busybox specific options: |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 228 | -e, -E |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 229 | |
| 230 | ed POSIX options |
| 231 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 232 | -p string | no | no | |
| 233 | -s | no | no | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 234 | ed Busybox specific options: None |
| 235 | |
| 236 | env POSIX options |
| 237 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 238 | -i | no | no | |
| 239 | env Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 240 | -u, -, -i |
| 241 | |
| 242 | expand POSIX options |
| 243 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 244 | -t tablist | yes | yes | |
| 245 | expand Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 246 | --tabs=N, -i, --initial |
| 247 | |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 248 | expr POSIX operations: |
| 249 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 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 | : | yes | yes | |
| 264 | (expr) | yes | yes | |
| 265 | integer | yes | yes | |
| 266 | string | yes | yes | |
| 267 | expr Busybox specific operations: |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 268 | match, substr, index, length, quote |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 269 | |
| 270 | false POSIX options: None |
| 271 | false Busybox specific options: None |
| 272 | |
| 273 | find POSIX options |
| 274 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 275 | -H | no | no | |
| 276 | -L | no | no | |
| 277 | find Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 278 | -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] |
| 279 | |
| 280 | fold POSIX options |
| 281 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 282 | -b | yes | yes | |
| 283 | -s | yes | yes | |
| 284 | -w width | yes | yes | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 285 | fold Busybox specific options: None |
| 286 | |
| 287 | fuser POSIX options |
| 288 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 289 | -c | no | no | |
| 290 | -f | no | no | |
| 291 | -u | no | no | |
| 292 | fuser Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 293 | -m, -k, -4, -SIGNAL, -6, -s |
| 294 | |
| 295 | grep POSIX options |
| 296 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 297 | -E | yes | | |
| 298 | -F | yes | | |
| 299 | -c | yes | | |
| 300 | -e pattern_list | yes | | |
| 301 | -f pattern_file | yes | | |
| 302 | -i | yes | | |
| 303 | -l | yes | | |
| 304 | -n | yes | | |
| 305 | -q | yes | | |
| 306 | -s | yes | | |
| 307 | -v | yes | | |
| 308 | -x | no | no | |
| 309 | grep Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 310 | -A, -C, -B, -L, -H, -o, -h, -w, -r, -z, -m MAX |
| 311 | |
| 312 | head POSIX options |
| 313 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 314 | -n number | yes | yes | |
| 315 | head Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 316 | -v, -c NUM, -q |
| 317 | |
| 318 | id POSIX options |
| 319 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 320 | -G | yes | yes | |
| 321 | -g | yes | yes | |
| 322 | -n | yes | yes | |
| 323 | -r | yes | yes | |
| 324 | -u | yes | yes | |
| 325 | id Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 326 | -Z |
| 327 | |
| 328 | ipcrm POSIX options |
| 329 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 330 | -M shmkey | no | no | |
| 331 | -Q msgkey | no | no | |
| 332 | -S semkey | no | no | |
| 333 | -m shmid | no | no | |
| 334 | -q msgid | no | no | |
| 335 | -s semid | no | no | |
| 336 | ipcrm Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 337 | -mM, -qQ, -sS |
| 338 | |
| 339 | ipcs POSIX options |
| 340 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 341 | -a | yes | | |
| 342 | -b | no | no | |
| 343 | -c | yes | | |
| 344 | -m | yes | | |
| 345 | -o | no | no | |
| 346 | -p | yes | | |
| 347 | -q | yes | | |
| 348 | -s | yes | | |
| 349 | -t | yes | | |
| 350 | ipcs Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 351 | -l, -i, -u |
| 352 | |
| 353 | kill POSIX options |
| 354 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 355 | -l | yes | yes | |
| 356 | -s signal_name | yes | yes | |
| 357 | -signal_name | yes | yes | |
| 358 | -signal_number | yes | yes | |
| 359 | kill Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 360 | -q, -o |
| 361 | |
| 362 | ln POSIX options |
| 363 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 364 | -L | no | no | |
| 365 | -P | no | no | |
| 366 | -f | yes | yes | |
| 367 | -s | yes | yes | |
| 368 | ln Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 369 | -S suf, -n, -b |
| 370 | |
| 371 | logger POSIX options: None |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 372 | logger Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 373 | -p PRIO, -t TAG, -s |
| 374 | |
| 375 | logname POSIX options: None |
| 376 | logname Busybox specific options: None |
| 377 | |
| 378 | ls POSIX options |
| 379 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 380 | -1 | yes | yes | |
| 381 | -A | yes | yes | |
| 382 | -C | yes | yes | |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 383 | -F | yes | yes | And more: '=' for sockets (not defined by POSIX) |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 384 | -H | no | no | |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 385 | -L | yes | yes | But coloring may be wrong (at least POSIX does not require correct colors :) ) |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 386 | -R | yes | yes | |
| 387 | -S | yes | yes | |
| 388 | -a | yes | yes | |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 389 | -c | yes | no | Sorts output with '-l' (should only show ctime with '-l', and sort only with '-t') |
| 390 | -d | yes | no | When invoked together with '-L' should read symbolic links, and doesn't |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 391 | -f | no | no | |
| 392 | -g | no | no | |
| 393 | -i | yes | yes | |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 394 | -k | yes | no | Does something completely unrelated! (Lists security context instead of specifying block size) |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 395 | -l | yes | yes | |
| 396 | -m | no | no | |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 397 | -n | yes | no | Works correctly only together with '-l' (but POSIX requires '-l' to be implicitly assumed) |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 398 | -o | no | no | |
| 399 | -p | yes | yes | |
| 400 | -q | no | no | |
| 401 | -r | yes | yes | |
| 402 | -s | yes | yes | |
| 403 | -t | yes | yes | |
| 404 | -u | yes | yes | |
| 405 | -x | yes | yes | |
| 406 | ls Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 407 | --color, -T NUM, -K, -X, -Z, -e, -h, -v, -w NUM |
| 408 | |
| 409 | man POSIX options |
| 410 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 411 | -k | no | no | |
| 412 | man Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 413 | -a Display all pages |
| 414 | |
| 415 | |
| 416 | mesg POSIX options: None |
| 417 | mesg Busybox specific options: None |
| 418 | |
| 419 | mkdir POSIX options |
| 420 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 421 | -m mode | yes | yes | |
| 422 | -p | yes | yes | |
| 423 | mkdir Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 424 | -Z |
| 425 | |
| 426 | mkfifo POSIX options |
| 427 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 428 | -m mode | yes | yes | |
| 429 | mkfifo Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 430 | -Z |
| 431 | |
| 432 | more POSIX options |
| 433 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 434 | -c | no | no | |
| 435 | -e | no | no | |
| 436 | -i | no | no | |
| 437 | -n number | no | no | |
| 438 | -p command | no | no | |
| 439 | -s | no | no | |
| 440 | -t tagstring | no | no | |
| 441 | -u | no | no | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 442 | more Busybox specific options: None |
| 443 | |
| 444 | mv POSIX options |
| 445 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 446 | -f | yes | yes | |
| 447 | -i | yes | yes | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 448 | mv Busybox specific options: None |
| 449 | |
| 450 | nice POSIX options |
| 451 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 452 | -n increment | yes | yes | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 453 | nice Busybox specific options: None |
| 454 | |
| 455 | nohup POSIX options: None |
| 456 | nohup Busybox specific options: None |
| 457 | |
| 458 | od POSIX options |
| 459 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 460 | -A address_base | no | no | |
| 461 | -N count | no | no | |
| 462 | -b | no | no | |
| 463 | -c | no | no | |
| 464 | -d | no | no | |
| 465 | -j skip | no | no | |
| 466 | -o | no | no | |
| 467 | -s | no | no | |
| 468 | -t type_string | no | no | |
| 469 | -v | no | no | |
| 470 | -x | no | no | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 471 | od Busybox specific options: None |
| 472 | |
Maxime Coste | d2383f5 | 2017-03-23 17:35:20 +0100 | [diff] [blame] | 473 | paste POSIX options |
| 474 | option | exists | compliant | remarks |
| 475 | -d list | yes | yes | |
| 476 | -s | yes | yes | |
| 477 | paste Busybox specific options: None |
| 478 | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 479 | patch POSIX options |
| 480 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 481 | -D define | no | no | |
| 482 | -N | no | no | |
| 483 | -R | yes | yes | |
| 484 | -b | no | no | |
| 485 | -c | no | no | |
| 486 | -d dir | no | no | |
| 487 | -e | no | no | |
| 488 | -i patchfile | yes | yes | |
| 489 | -l | no | no | |
| 490 | -n | no | no | |
| 491 | -o outfile | no | no | |
| 492 | -p num | yes | yes | |
| 493 | -r rejectfile | no | no | |
| 494 | -u | no | no | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 495 | patch Busybox specific options: None |
| 496 | |
| 497 | printf POSIX options: None |
| 498 | printf Busybox specific options: None |
| 499 | |
| 500 | ps POSIX options |
| 501 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 502 | -A | no | no | |
| 503 | -G grouplist | no | no | |
| 504 | -U userlist | no | no | |
| 505 | -a | no | no | |
| 506 | -d | no | no | |
| 507 | -e | no | no | |
| 508 | -f | no | no | |
| 509 | -g grouplist | no | no | |
| 510 | -l | no | no | |
| 511 | -n namelist | no | no | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 512 | -o format | yes | no | not supported: ruser, group, rgroup, pcpu |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 513 | -p proclist | no | no | |
| 514 | -t termlist | no | no | |
| 515 | -u userlist | no | no | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 516 | ps Busybox specific options: None |
| 517 | |
| 518 | pwd POSIX options |
| 519 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 520 | -L | no | no | |
| 521 | -P | no | no | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 522 | pwd Busybox specific options: None |
| 523 | |
| 524 | renice POSIX options |
| 525 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 526 | -g | yes | yes | |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 527 | -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 Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 528 | -p | yes | yes | |
| 529 | -u | yes | yes | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 530 | renice Busybox specific options: None |
| 531 | |
| 532 | rm POSIX options |
| 533 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 534 | -R | yes | yes | |
| 535 | -f | yes | yes | |
| 536 | -i | yes | yes | |
| 537 | -r | yes | yes | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 538 | rm Busybox specific options: None |
| 539 | |
| 540 | rmdir POSIX options |
| 541 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 542 | -p | yes | yes | |
| 543 | rmdir Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 544 | --parents |
| 545 | |
| 546 | sed POSIX options |
| 547 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 548 | -e script | yes | | |
| 549 | -f script_file | yes | | |
| 550 | -n | yes | | |
| 551 | sed Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 552 | -i, -r |
| 553 | |
| 554 | sh POSIX options |
| 555 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 556 | -c | no | no | |
| 557 | -i | no | no | |
| 558 | -s | no | no | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 559 | sh Busybox specific options: None |
| 560 | |
| 561 | sleep POSIX options: None |
| 562 | sleep Busybox specific options: None |
| 563 | |
| 564 | sort POSIX options |
| 565 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 566 | -C | no | no | |
| 567 | -b | yes | yes | |
| 568 | -c | yes | yes | |
| 569 | -d | yes | yes | |
| 570 | -f | yes | yes | |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 571 | -i | yes | yes | But is not like GNU sort, which isn't! (try to sort 'a\nA\nB\nb' with and without -f) |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 572 | -k keydef | yes | | |
| 573 | -m | no | no | |
| 574 | -n | yes | yes | |
| 575 | -o output | yes | yes | |
| 576 | -r | yes | yes | |
| 577 | -t char | yes | | |
| 578 | -u | yes | yes | |
| 579 | sort Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 580 | -mST, -g, -M, -s, -z |
| 581 | |
| 582 | split POSIX options |
| 583 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 584 | -a suffix_length | yes | yes | |
| 585 | -b n | yes | yes | |
| 586 | -b nk | yes | yes | |
| 587 | -b nm | yes | yes | |
| 588 | -l line_count | yes | yes | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 589 | split Busybox specific options: None |
| 590 | |
| 591 | strings POSIX options |
| 592 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 593 | -a | yes | yes | |
| 594 | -n number | yes | yes | |
| 595 | -t format | no | no | |
| 596 | strings Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 597 | -o, -f |
| 598 | |
| 599 | stty POSIX options |
| 600 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 601 | -a | yes | yes | |
| 602 | -g | yes | yes | |
| 603 | stty Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 604 | -F DEVICE |
| 605 | |
| 606 | tail POSIX options |
| 607 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 608 | -c number | yes | yes | |
| 609 | -f | yes | yes | |
| 610 | -n number | yes | yes | |
| 611 | tail Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 612 | -v, -q, -s SEC |
| 613 | |
| 614 | tee POSIX options |
| 615 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 616 | -a | yes | yes | |
| 617 | -i | yes | yes | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 618 | tee Busybox specific options: None |
| 619 | |
| 620 | test POSIX options: None |
| 621 | test Busybox specific options: None |
| 622 | |
| 623 | time POSIX options |
| 624 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 625 | -p | no | no | |
| 626 | time Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 627 | -v |
| 628 | |
| 629 | touch POSIX options |
| 630 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 631 | -a | no | no | |
| 632 | -c | yes | yes | |
| 633 | -d date_time | no | no | |
| 634 | -m | no | no | |
| 635 | -r ref_file | no | no | |
| 636 | -t time | no | no | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 637 | touch Busybox specific options: None |
| 638 | |
| 639 | tr POSIX options |
| 640 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 641 | -C | no | no | |
| 642 | -c | yes | yes | |
| 643 | -d | yes | yes | |
| 644 | -s | yes | yes | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 645 | tr Busybox specific options: None |
| 646 | |
| 647 | true POSIX options: None |
| 648 | true Busybox specific options: None |
| 649 | |
| 650 | tty POSIX options: None |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 651 | tty Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 652 | -s |
| 653 | |
| 654 | uname POSIX options |
| 655 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 656 | -a | yes | yes | |
| 657 | -m | yes | yes | |
| 658 | -n | yes | yes | |
| 659 | -r | yes | yes | |
| 660 | -s | yes | yes | |
| 661 | -v | yes | yes | |
| 662 | uname Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 663 | -p |
| 664 | |
| 665 | uncompress POSIX options |
| 666 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 667 | -c | yes | yes | |
| 668 | -f | yes | yes | |
| 669 | -v | no | no | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 670 | uncompress Busybox specific options: None |
| 671 | |
| 672 | unexpand POSIX options |
| 673 | option | exists | compliant | remarks |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 674 | -a | yes | no | POSIX requires converting two or more spaces to tabs, busybox converts one or more spaces |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 675 | -t tablist | yes | yes | |
| 676 | unexpand Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 677 | --tabs=N, -f, --first-only, --all |
| 678 | |
| 679 | uniq POSIX options |
| 680 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 681 | -c | yes | yes | |
| 682 | -d | yes | yes | |
| 683 | -f fields | yes | yes | |
| 684 | -s chars | yes | yes | |
| 685 | -u | yes | yes | |
| 686 | uniq Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 687 | -w N |
| 688 | |
| 689 | uudecode POSIX options |
| 690 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 691 | -o outfile | no | no | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 692 | uudecode Busybox specific options: None |
| 693 | |
| 694 | uuencode POSIX options |
| 695 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 696 | -m | yes | yes | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 697 | uuencode Busybox specific options: None |
| 698 | |
| 699 | vi POSIX options |
| 700 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 701 | -R | yes | | |
| 702 | -c command | yes | | |
| 703 | -r | no | no | |
| 704 | -t tagstring | no | no | |
| 705 | -w size | no | no | |
| 706 | vi Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 707 | -H |
| 708 | |
| 709 | wc POSIX options |
| 710 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 711 | -c | yes | yes | |
| 712 | -l | yes | yes | |
| 713 | -m | no | no | |
| 714 | -w | yes | yes | |
| 715 | wc Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 716 | -L |
| 717 | |
| 718 | who POSIX options |
| 719 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 720 | -H | no | no | |
| 721 | -T | no | no | |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 722 | -a | yes | no | just shows all |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 723 | -b | no | no | |
| 724 | -d | no | no | |
| 725 | -l | no | no | |
| 726 | -m | no | no | |
| 727 | -p | no | no | |
| 728 | -q | no | no | |
| 729 | -r | no | no | |
| 730 | -s | no | no | |
| 731 | -t | no | no | |
| 732 | -u | no | no | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 733 | who Busybox specific options: None |
| 734 | |
| 735 | xargs POSIX options |
| 736 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 737 | -E eofstr | no | no | |
| 738 | -I replstr | no | no | |
| 739 | -L number | no | no | |
| 740 | -n number | yes | yes | |
| 741 | -p | yes | yes | |
| 742 | -s size | yes | yes | |
| 743 | -t | yes | yes | |
| 744 | -x | yes | yes | |
| 745 | xargs Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 746 | -e[STR], -0, -r |
| 747 | |
| 748 | zcat POSIX options: None |
| 749 | zcat Busybox specific options: None |