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 | | |
Rostislav Skudnov | 3f6a978 | 2018-10-15 10:26:15 +0000 | [diff] [blame] | 185 | oflag=seek_bytes| yes | | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 186 | |
| 187 | df POSIX options |
| 188 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 189 | -P | yes | yes | |
| 190 | -k | yes | yes | |
| 191 | -t | no | no | |
| 192 | df Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 193 | -a, -m, -B SIZE, -i, -h |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 194 | Remark: |
Denys Vlasenko | cd3dd42 | 2009-06-15 09:16:27 +0200 | [diff] [blame] | 195 | - 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] | 196 | |
| 197 | diff POSIX options |
| 198 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 199 | -C n | no | no | |
| 200 | -U n | yes | | |
| 201 | -b | yes | | |
| 202 | -c | no | no | |
| 203 | -e | no | no | |
| 204 | -f | no | no | |
| 205 | -r | yes | | |
| 206 | -u | no | no | |
| 207 | diff Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 208 | -d, -a, -s, -t, -L, -N, -i, -T, -w, -q, -S |
| 209 | |
| 210 | dirname POSIX options: None |
| 211 | dirname Busybox specific options: None |
| 212 | |
| 213 | du POSIX options |
| 214 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 215 | -H | yes | | |
| 216 | -L | yes | | |
| 217 | -a | yes | | |
| 218 | -k | yes | | |
| 219 | -s | yes | | |
| 220 | -x | yes | | |
| 221 | du Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 222 | -c, -m, -h, -d N, -l |
| 223 | |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 224 | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 225 | echo POSIX options: None |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 226 | option | exists | compliant | remarks |
| 227 | -n | yes | yes | The result of -n is "implementation-defined" |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 228 | echo Busybox specific options: |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 229 | -e, -E |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 230 | |
| 231 | ed POSIX options |
| 232 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 233 | -p string | no | no | |
| 234 | -s | no | no | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 235 | ed Busybox specific options: None |
| 236 | |
| 237 | env POSIX options |
| 238 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 239 | -i | no | no | |
| 240 | env Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 241 | -u, -, -i |
| 242 | |
| 243 | expand POSIX options |
| 244 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 245 | -t tablist | yes | yes | |
| 246 | expand Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 247 | --tabs=N, -i, --initial |
| 248 | |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 249 | expr POSIX operations: |
| 250 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 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 | : | yes | yes | |
| 265 | (expr) | yes | yes | |
| 266 | integer | yes | yes | |
| 267 | string | yes | yes | |
| 268 | expr Busybox specific operations: |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 269 | match, substr, index, length, quote |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 270 | |
| 271 | false POSIX options: None |
| 272 | false Busybox specific options: None |
| 273 | |
| 274 | find POSIX options |
| 275 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 276 | -H | no | no | |
| 277 | -L | no | no | |
| 278 | find Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 279 | -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] |
| 280 | |
| 281 | fold POSIX options |
| 282 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 283 | -b | yes | yes | |
| 284 | -s | yes | yes | |
| 285 | -w width | yes | yes | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 286 | fold Busybox specific options: None |
| 287 | |
| 288 | fuser POSIX options |
| 289 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 290 | -c | no | no | |
| 291 | -f | no | no | |
| 292 | -u | no | no | |
| 293 | fuser Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 294 | -m, -k, -4, -SIGNAL, -6, -s |
| 295 | |
| 296 | grep POSIX options |
| 297 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 298 | -E | yes | | |
| 299 | -F | yes | | |
| 300 | -c | yes | | |
| 301 | -e pattern_list | yes | | |
| 302 | -f pattern_file | yes | | |
| 303 | -i | yes | | |
| 304 | -l | yes | | |
| 305 | -n | yes | | |
| 306 | -q | yes | | |
| 307 | -s | yes | | |
| 308 | -v | yes | | |
| 309 | -x | no | no | |
| 310 | grep Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 311 | -A, -C, -B, -L, -H, -o, -h, -w, -r, -z, -m MAX |
| 312 | |
| 313 | head POSIX options |
| 314 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 315 | -n number | yes | yes | |
| 316 | head Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 317 | -v, -c NUM, -q |
| 318 | |
| 319 | id POSIX options |
| 320 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 321 | -G | yes | yes | |
| 322 | -g | yes | yes | |
| 323 | -n | yes | yes | |
| 324 | -r | yes | yes | |
| 325 | -u | yes | yes | |
| 326 | id Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 327 | -Z |
| 328 | |
| 329 | ipcrm POSIX options |
| 330 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 331 | -M shmkey | no | no | |
| 332 | -Q msgkey | no | no | |
| 333 | -S semkey | no | no | |
| 334 | -m shmid | no | no | |
| 335 | -q msgid | no | no | |
| 336 | -s semid | no | no | |
| 337 | ipcrm Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 338 | -mM, -qQ, -sS |
| 339 | |
| 340 | ipcs POSIX options |
| 341 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 342 | -a | yes | | |
| 343 | -b | no | no | |
| 344 | -c | yes | | |
| 345 | -m | yes | | |
| 346 | -o | no | no | |
| 347 | -p | yes | | |
| 348 | -q | yes | | |
| 349 | -s | yes | | |
| 350 | -t | yes | | |
| 351 | ipcs Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 352 | -l, -i, -u |
| 353 | |
| 354 | kill POSIX options |
| 355 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 356 | -l | yes | yes | |
| 357 | -s signal_name | yes | yes | |
| 358 | -signal_name | yes | yes | |
| 359 | -signal_number | yes | yes | |
| 360 | kill Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 361 | -q, -o |
| 362 | |
| 363 | ln POSIX options |
| 364 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 365 | -L | no | no | |
| 366 | -P | no | no | |
| 367 | -f | yes | yes | |
| 368 | -s | yes | yes | |
| 369 | ln Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 370 | -S suf, -n, -b |
| 371 | |
| 372 | logger POSIX options: None |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 373 | logger Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 374 | -p PRIO, -t TAG, -s |
| 375 | |
| 376 | logname POSIX options: None |
| 377 | logname Busybox specific options: None |
| 378 | |
| 379 | ls POSIX options |
| 380 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 381 | -1 | yes | yes | |
| 382 | -A | yes | yes | |
| 383 | -C | yes | yes | |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 384 | -F | yes | yes | And more: '=' for sockets (not defined by POSIX) |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 385 | -H | no | no | |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 386 | -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] | 387 | -R | yes | yes | |
| 388 | -S | yes | yes | |
| 389 | -a | yes | yes | |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 390 | -c | yes | no | Sorts output with '-l' (should only show ctime with '-l', and sort only with '-t') |
| 391 | -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] | 392 | -f | no | no | |
| 393 | -g | no | no | |
| 394 | -i | yes | yes | |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 395 | -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] | 396 | -l | yes | yes | |
| 397 | -m | no | no | |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 398 | -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] | 399 | -o | no | no | |
| 400 | -p | yes | yes | |
| 401 | -q | no | no | |
| 402 | -r | yes | yes | |
| 403 | -s | yes | yes | |
| 404 | -t | yes | yes | |
| 405 | -u | yes | yes | |
| 406 | -x | yes | yes | |
| 407 | ls Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 408 | --color, -T NUM, -K, -X, -Z, -e, -h, -v, -w NUM |
| 409 | |
| 410 | man POSIX options |
| 411 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 412 | -k | no | no | |
| 413 | man Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 414 | -a Display all pages |
| 415 | |
| 416 | |
| 417 | mesg POSIX options: None |
| 418 | mesg Busybox specific options: None |
| 419 | |
| 420 | mkdir POSIX options |
| 421 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 422 | -m mode | yes | yes | |
| 423 | -p | yes | yes | |
| 424 | mkdir Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 425 | -Z |
| 426 | |
| 427 | mkfifo POSIX options |
| 428 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 429 | -m mode | yes | yes | |
| 430 | mkfifo Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 431 | -Z |
| 432 | |
| 433 | more POSIX options |
| 434 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 435 | -c | no | no | |
| 436 | -e | no | no | |
| 437 | -i | no | no | |
| 438 | -n number | no | no | |
| 439 | -p command | no | no | |
| 440 | -s | no | no | |
| 441 | -t tagstring | no | no | |
| 442 | -u | no | no | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 443 | more Busybox specific options: None |
| 444 | |
| 445 | mv POSIX options |
| 446 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 447 | -f | yes | yes | |
| 448 | -i | yes | yes | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 449 | mv Busybox specific options: None |
| 450 | |
| 451 | nice POSIX options |
| 452 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 453 | -n increment | yes | yes | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 454 | nice Busybox specific options: None |
| 455 | |
| 456 | nohup POSIX options: None |
| 457 | nohup Busybox specific options: None |
| 458 | |
| 459 | od POSIX options |
| 460 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 461 | -A address_base | no | no | |
| 462 | -N count | no | no | |
| 463 | -b | no | no | |
| 464 | -c | no | no | |
| 465 | -d | no | no | |
| 466 | -j skip | no | no | |
| 467 | -o | no | no | |
| 468 | -s | no | no | |
| 469 | -t type_string | no | no | |
| 470 | -v | no | no | |
| 471 | -x | no | no | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 472 | od Busybox specific options: None |
| 473 | |
Maxime Coste | d2383f5 | 2017-03-23 17:35:20 +0100 | [diff] [blame] | 474 | paste POSIX options |
| 475 | option | exists | compliant | remarks |
| 476 | -d list | yes | yes | |
| 477 | -s | yes | yes | |
| 478 | paste Busybox specific options: None |
| 479 | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 480 | patch POSIX options |
| 481 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 482 | -D define | no | no | |
| 483 | -N | no | no | |
| 484 | -R | yes | yes | |
| 485 | -b | no | no | |
| 486 | -c | no | no | |
| 487 | -d dir | no | no | |
| 488 | -e | no | no | |
| 489 | -i patchfile | yes | yes | |
| 490 | -l | no | no | |
| 491 | -n | no | no | |
| 492 | -o outfile | no | no | |
| 493 | -p num | yes | yes | |
| 494 | -r rejectfile | no | no | |
| 495 | -u | no | no | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 496 | patch Busybox specific options: None |
| 497 | |
| 498 | printf POSIX options: None |
| 499 | printf Busybox specific options: None |
| 500 | |
| 501 | ps POSIX options |
| 502 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 503 | -A | no | no | |
| 504 | -G grouplist | no | no | |
| 505 | -U userlist | no | no | |
| 506 | -a | no | no | |
| 507 | -d | no | no | |
| 508 | -e | no | no | |
| 509 | -f | no | no | |
| 510 | -g grouplist | no | no | |
| 511 | -l | no | no | |
| 512 | -n namelist | no | no | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 513 | -o format | yes | no | not supported: ruser, group, rgroup, pcpu |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 514 | -p proclist | no | no | |
| 515 | -t termlist | no | no | |
| 516 | -u userlist | no | no | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 517 | ps Busybox specific options: None |
| 518 | |
| 519 | pwd POSIX options |
| 520 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 521 | -L | no | no | |
| 522 | -P | no | no | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 523 | pwd Busybox specific options: None |
| 524 | |
| 525 | renice POSIX options |
| 526 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 527 | -g | yes | yes | |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 528 | -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] | 529 | -p | yes | yes | |
| 530 | -u | yes | yes | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 531 | renice Busybox specific options: None |
| 532 | |
| 533 | rm POSIX options |
| 534 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 535 | -R | yes | yes | |
| 536 | -f | yes | yes | |
| 537 | -i | yes | yes | |
| 538 | -r | yes | yes | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 539 | rm Busybox specific options: None |
| 540 | |
| 541 | rmdir POSIX options |
| 542 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 543 | -p | yes | yes | |
| 544 | rmdir Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 545 | --parents |
| 546 | |
| 547 | sed POSIX options |
| 548 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 549 | -e script | yes | | |
| 550 | -f script_file | yes | | |
| 551 | -n | yes | | |
| 552 | sed Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 553 | -i, -r |
| 554 | |
| 555 | sh POSIX options |
| 556 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 557 | -c | no | no | |
| 558 | -i | no | no | |
| 559 | -s | no | no | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 560 | sh Busybox specific options: None |
| 561 | |
| 562 | sleep POSIX options: None |
| 563 | sleep Busybox specific options: None |
| 564 | |
| 565 | sort POSIX options |
| 566 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 567 | -C | no | no | |
| 568 | -b | yes | yes | |
| 569 | -c | yes | yes | |
| 570 | -d | yes | yes | |
| 571 | -f | yes | yes | |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 572 | -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] | 573 | -k keydef | yes | | |
| 574 | -m | no | no | |
| 575 | -n | yes | yes | |
| 576 | -o output | yes | yes | |
| 577 | -r | yes | yes | |
| 578 | -t char | yes | | |
| 579 | -u | yes | yes | |
| 580 | sort Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 581 | -mST, -g, -M, -s, -z |
| 582 | |
| 583 | split POSIX options |
| 584 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 585 | -a suffix_length | yes | yes | |
| 586 | -b n | yes | yes | |
| 587 | -b nk | yes | yes | |
| 588 | -b nm | yes | yes | |
| 589 | -l line_count | yes | yes | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 590 | split Busybox specific options: None |
| 591 | |
| 592 | strings POSIX options |
| 593 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 594 | -a | yes | yes | |
| 595 | -n number | yes | yes | |
| 596 | -t format | no | no | |
| 597 | strings Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 598 | -o, -f |
| 599 | |
| 600 | stty POSIX options |
| 601 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 602 | -a | yes | yes | |
| 603 | -g | yes | yes | |
| 604 | stty Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 605 | -F DEVICE |
| 606 | |
| 607 | tail POSIX options |
| 608 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 609 | -c number | yes | yes | |
| 610 | -f | yes | yes | |
| 611 | -n number | yes | yes | |
| 612 | tail Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 613 | -v, -q, -s SEC |
| 614 | |
| 615 | tee POSIX options |
| 616 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 617 | -a | yes | yes | |
| 618 | -i | yes | yes | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 619 | tee Busybox specific options: None |
| 620 | |
| 621 | test POSIX options: None |
| 622 | test Busybox specific options: None |
| 623 | |
| 624 | time POSIX options |
| 625 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 626 | -p | no | no | |
| 627 | time Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 628 | -v |
| 629 | |
| 630 | touch POSIX options |
| 631 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 632 | -a | no | no | |
| 633 | -c | yes | yes | |
| 634 | -d date_time | no | no | |
| 635 | -m | no | no | |
| 636 | -r ref_file | no | no | |
| 637 | -t time | no | no | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 638 | touch Busybox specific options: None |
| 639 | |
| 640 | tr POSIX options |
| 641 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 642 | -C | no | no | |
| 643 | -c | yes | yes | |
| 644 | -d | yes | yes | |
| 645 | -s | yes | yes | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 646 | tr Busybox specific options: None |
| 647 | |
| 648 | true POSIX options: None |
| 649 | true Busybox specific options: None |
| 650 | |
| 651 | tty POSIX options: None |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 652 | tty Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 653 | -s |
| 654 | |
| 655 | uname POSIX options |
| 656 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 657 | -a | yes | yes | |
| 658 | -m | yes | yes | |
| 659 | -n | yes | yes | |
| 660 | -r | yes | yes | |
| 661 | -s | yes | yes | |
| 662 | -v | yes | yes | |
| 663 | uname Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 664 | -p |
| 665 | |
| 666 | uncompress POSIX options |
| 667 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 668 | -c | yes | yes | |
| 669 | -f | yes | yes | |
| 670 | -v | no | no | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 671 | uncompress Busybox specific options: None |
| 672 | |
| 673 | unexpand POSIX options |
| 674 | option | exists | compliant | remarks |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 675 | -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] | 676 | -t tablist | yes | yes | |
| 677 | unexpand Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 678 | --tabs=N, -f, --first-only, --all |
| 679 | |
| 680 | uniq POSIX options |
| 681 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 682 | -c | yes | yes | |
| 683 | -d | yes | yes | |
| 684 | -f fields | yes | yes | |
| 685 | -s chars | yes | yes | |
| 686 | -u | yes | yes | |
| 687 | uniq Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 688 | -w N |
| 689 | |
| 690 | uudecode POSIX options |
| 691 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 692 | -o outfile | no | no | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 693 | uudecode Busybox specific options: None |
| 694 | |
| 695 | uuencode POSIX options |
| 696 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 697 | -m | yes | yes | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 698 | uuencode Busybox specific options: None |
| 699 | |
| 700 | vi POSIX options |
| 701 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 702 | -R | yes | | |
| 703 | -c command | yes | | |
| 704 | -r | no | no | |
| 705 | -t tagstring | no | no | |
| 706 | -w size | no | no | |
| 707 | vi Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 708 | -H |
| 709 | |
| 710 | wc POSIX options |
| 711 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 712 | -c | yes | yes | |
| 713 | -l | yes | yes | |
| 714 | -m | no | no | |
| 715 | -w | yes | yes | |
| 716 | wc Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 717 | -L |
| 718 | |
| 719 | who POSIX options |
| 720 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 721 | -H | no | no | |
| 722 | -T | no | no | |
Denys Vlasenko | 145512c | 2009-06-12 15:32:51 +0200 | [diff] [blame] | 723 | -a | yes | no | just shows all |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 724 | -b | no | no | |
| 725 | -d | no | no | |
| 726 | -l | no | no | |
| 727 | -m | no | no | |
| 728 | -p | no | no | |
| 729 | -q | no | no | |
| 730 | -r | no | no | |
| 731 | -s | no | no | |
| 732 | -t | no | no | |
| 733 | -u | no | no | |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 734 | who Busybox specific options: None |
| 735 | |
| 736 | xargs POSIX options |
| 737 | option | exists | compliant | remarks |
Denys Vlasenko | 252ccba | 2009-07-19 01:09:42 +0200 | [diff] [blame] | 738 | -E eofstr | no | no | |
| 739 | -I replstr | no | no | |
| 740 | -L number | no | no | |
| 741 | -n number | yes | yes | |
| 742 | -p | yes | yes | |
| 743 | -s size | yes | yes | |
| 744 | -t | yes | yes | |
| 745 | -x | yes | yes | |
| 746 | xargs Busybox specific options: |
David Krakov | 29ec116 | 2009-05-26 19:42:34 -0400 | [diff] [blame] | 747 | -e[STR], -0, -r |
| 748 | |
| 749 | zcat POSIX options: None |
| 750 | zcat Busybox specific options: None |