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