1 #undef FORCED_FLAG 2 #ifdef FORCE_FLAGS 3 #define FORCED_FLAG 1LL 4 #else 5 #define FORCED_FLAG 0LL 6 #endif 7 8 // basename ^<1as: ^<1as: 9 #undef OPTSTR_basename 10 #define OPTSTR_basename "^<1as:" 11 #ifdef CLEANUP_basename 12 #undef CLEANUP_basename 13 #undef FOR_basename 14 #undef FLAG_s 15 #undef FLAG_a 16 #endif 17 18 // cat uvte uvte 19 #undef OPTSTR_cat 20 #define OPTSTR_cat "uvte" 21 #ifdef CLEANUP_cat 22 #undef CLEANUP_cat 23 #undef FOR_cat 24 #undef FLAG_e 25 #undef FLAG_t 26 #undef FLAG_v 27 #undef FLAG_u 28 #endif 29 30 // chmod <2?vfR[-vf] <2?vfR[-vf] 31 #undef OPTSTR_chmod 32 #define OPTSTR_chmod "<2?vfR[-vf]" 33 #ifdef CLEANUP_chmod 34 #undef CLEANUP_chmod 35 #undef FOR_chmod 36 #undef FLAG_R 37 #undef FLAG_f 38 #undef FLAG_v 39 #endif 40 41 // cmp <1>4ls(silent)(quiet)n#<1[!ls] <1>4ls(silent)(quiet)n#<1[!ls] 42 #undef OPTSTR_cmp 43 #define OPTSTR_cmp "<1>4ls(silent)(quiet)n#<1[!ls]" 44 #ifdef CLEANUP_cmp 45 #undef CLEANUP_cmp 46 #undef FOR_cmp 47 #undef FLAG_n 48 #undef FLAG_s 49 #undef FLAG_l 50 #endif 51 52 // echo ^?Een[-eE] ^?Een[-eE] 53 #undef OPTSTR_echo 54 #define OPTSTR_echo "^?Een[-eE]" 55 #ifdef CLEANUP_echo 56 #undef CLEANUP_echo 57 #undef FOR_echo 58 #undef FLAG_n 59 #undef FLAG_e 60 #undef FLAG_E 61 #endif 62 63 // fold bsw#<1=80 bsw#<1=80 64 #undef OPTSTR_fold 65 #define OPTSTR_fold "bsw#<1=80" 66 #ifdef CLEANUP_fold 67 #undef CLEANUP_fold 68 #undef FOR_fold 69 #undef FLAG_w 70 #undef FLAG_s 71 #undef FLAG_b 72 #endif 73 74 // grep (line-buffered)(color):;(exclude-dir)*S(exclude)*M(include)*ZzEFHIab(byte-offset)h(no-filename)ino(only-matching)rRsvwc(count)L(files-without-match)l(files-with-matches)q(quiet)(silent)e*f*C#B#A#m#x[!wx][!EF] (line-buffered)(color):;(exclude-dir)*S(exclude)*M(include)*ZzEFHIab(byte-offset)h(no-filename)ino(only-matching)rRsvwc(count)L(files-without-match)l(files-with-matches)q(quiet)(silent)e*f*C#B#A#m#x[!wx][!EF] 75 #undef OPTSTR_grep 76 #define OPTSTR_grep "(line-buffered)(color):;(exclude-dir)*S(exclude)*M(include)*ZzEFHIab(byte-offset)h(no-filename)ino(only-matching)rRsvwc(count)L(files-without-match)l(files-with-matches)q(quiet)(silent)e*f*C#B#A#m#x[!wx][!EF]" 77 #ifdef CLEANUP_grep 78 #undef CLEANUP_grep 79 #undef FOR_grep 80 #undef FLAG_x 81 #undef FLAG_m 82 #undef FLAG_A 83 #undef FLAG_B 84 #undef FLAG_C 85 #undef FLAG_f 86 #undef FLAG_e 87 #undef FLAG_q 88 #undef FLAG_l 89 #undef FLAG_L 90 #undef FLAG_c 91 #undef FLAG_w 92 #undef FLAG_v 93 #undef FLAG_s 94 #undef FLAG_R 95 #undef FLAG_r 96 #undef FLAG_o 97 #undef FLAG_n 98 #undef FLAG_i 99 #undef FLAG_h 100 #undef FLAG_b 101 #undef FLAG_a 102 #undef FLAG_I 103 #undef FLAG_H 104 #undef FLAG_F 105 #undef FLAG_E 106 #undef FLAG_z 107 #undef FLAG_Z 108 #undef FLAG_M 109 #undef FLAG_S 110 #undef FLAG_exclude_dir 111 #undef FLAG_color 112 #undef FLAG_line_buffered 113 #endif 114 115 // gzip n(no-name)cdfkt123456789[-123456789] n(no-name)cdfkt123456789[-123456789] 116 #undef OPTSTR_gzip 117 #define OPTSTR_gzip "n(no-name)cdfkt123456789[-123456789]" 118 #ifdef CLEANUP_gzip 119 #undef CLEANUP_gzip 120 #undef FOR_gzip 121 #undef FLAG_9 122 #undef FLAG_8 123 #undef FLAG_7 124 #undef FLAG_6 125 #undef FLAG_5 126 #undef FLAG_4 127 #undef FLAG_3 128 #undef FLAG_2 129 #undef FLAG_1 130 #undef FLAG_t 131 #undef FLAG_k 132 #undef FLAG_f 133 #undef FLAG_d 134 #undef FLAG_c 135 #undef FLAG_n 136 #endif 137 138 // head ?n(lines)#<0=10c(bytes)#<0qv[-nc] ?n(lines)#<0=10c(bytes)#<0qv[-nc] 139 #undef OPTSTR_head 140 #define OPTSTR_head "?n(lines)#<0=10c(bytes)#<0qv[-nc]" 141 #ifdef CLEANUP_head 142 #undef CLEANUP_head 143 #undef FOR_head 144 #undef FLAG_v 145 #undef FLAG_q 146 #undef FLAG_c 147 #undef FLAG_n 148 #endif 149 150 // ln <1rt:Tvnfs <1rt:Tvnfs 151 #undef OPTSTR_ln 152 #define OPTSTR_ln "<1rt:Tvnfs" 153 #ifdef CLEANUP_ln 154 #undef CLEANUP_ln 155 #undef FOR_ln 156 #undef FLAG_s 157 #undef FLAG_f 158 #undef FLAG_n 159 #undef FLAG_v 160 #undef FLAG_T 161 #undef FLAG_t 162 #undef FLAG_r 163 #endif 164 165 // ls (sort):(color):;(full-time)(show-control-chars)�(block-size)#=1024<1�(group-directories-first)�ZgoACFHLNRSUXabcdfhikl@mnpqrstuw#=80<0x1[-Cxm1][-Cxml][-Cxmo][-Cxmg][-cu][-ftS][-HL][-Nqb][-k�] (sort):(color):;(full-time)(show-control-chars)�(block-size)#=1024<1�(group-directories-first)�ZgoACFHLNRSUXabcdfhikl@mnpqrstuw#=80<0x1[-Cxm1][-Cxml][-Cxmo][-Cxmg][-cu][-ftS][-HL][-Nqb][-k�] 166 #undef OPTSTR_ls 167 #define OPTSTR_ls "(sort):(color):;(full-time)(show-control-chars)�(block-size)#=1024<1�(group-directories-first)�ZgoACFHLNRSUXabcdfhikl@mnpqrstuw#=80<0x1[-Cxm1][-Cxml][-Cxmo][-Cxmg][-cu][-ftS][-HL][-Nqb][-k�]" 168 #ifdef CLEANUP_ls 169 #undef CLEANUP_ls 170 #undef FOR_ls 171 #undef FLAG_1 172 #undef FLAG_x 173 #undef FLAG_w 174 #undef FLAG_u 175 #undef FLAG_t 176 #undef FLAG_s 177 #undef FLAG_r 178 #undef FLAG_q 179 #undef FLAG_p 180 #undef FLAG_n 181 #undef FLAG_m 182 #undef FLAG_l 183 #undef FLAG_k 184 #undef FLAG_i 185 #undef FLAG_h 186 #undef FLAG_f 187 #undef FLAG_d 188 #undef FLAG_c 189 #undef FLAG_b 190 #undef FLAG_a 191 #undef FLAG_X 192 #undef FLAG_U 193 #undef FLAG_S 194 #undef FLAG_R 195 #undef FLAG_N 196 #undef FLAG_L 197 #undef FLAG_H 198 #undef FLAG_F 199 #undef FLAG_C 200 #undef FLAG_A 201 #undef FLAG_o 202 #undef FLAG_g 203 #undef FLAG_Z 204 #undef FLAG_X7E 205 #undef FLAG_X21 206 #undef FLAG_X7F 207 #undef FLAG_show_control_chars 208 #undef FLAG_full_time 209 #undef FLAG_color 210 #undef FLAG_sort 211 #endif 212 213 // mkdir <1vp(parent)(parents)m: <1Z:vp(parent)(parents)m: 214 #undef OPTSTR_mkdir 215 #define OPTSTR_mkdir "<1vp(parent)(parents)m:" 216 #ifdef CLEANUP_mkdir 217 #undef CLEANUP_mkdir 218 #undef FOR_mkdir 219 #undef FLAG_m 220 #undef FLAG_p 221 #undef FLAG_v 222 #undef FLAG_Z 223 #endif 224 225 // od j#vw#<1=16N#xsodcbA:t* j#vw#<1=16N#xsodcbA:t* 226 #undef OPTSTR_od 227 #define OPTSTR_od "j#vw#<1=16N#xsodcbA:t*" 228 #ifdef CLEANUP_od 229 #undef CLEANUP_od 230 #undef FOR_od 231 #undef FLAG_t 232 #undef FLAG_A 233 #undef FLAG_b 234 #undef FLAG_c 235 #undef FLAG_d 236 #undef FLAG_o 237 #undef FLAG_s 238 #undef FLAG_x 239 #undef FLAG_N 240 #undef FLAG_w 241 #undef FLAG_v 242 #undef FLAG_j 243 #endif 244 245 // readlink <1vnf(canonicalize)emqz[-mef][-qv] <1vnf(canonicalize)emqz[-mef][-qv] 246 #undef OPTSTR_readlink 247 #define OPTSTR_readlink "<1vnf(canonicalize)emqz[-mef][-qv]" 248 #ifdef CLEANUP_readlink 249 #undef CLEANUP_readlink 250 #undef FOR_readlink 251 #undef FLAG_z 252 #undef FLAG_q 253 #undef FLAG_m 254 #undef FLAG_e 255 #undef FLAG_f 256 #undef FLAG_n 257 #undef FLAG_v 258 #endif 259 260 // realpath <1(relative-base):R(relative-to):s(no-symlinks)LPemqz[-Ps][-LP][-me] 261 #undef OPTSTR_realpath 262 #define OPTSTR_realpath "<1(relative-base):R(relative-to):s(no-symlinks)LPemqz[-Ps][-LP][-me]" 263 #ifdef CLEANUP_realpath 264 #undef CLEANUP_realpath 265 #undef FOR_realpath 266 #undef FLAG_z 267 #undef FLAG_q 268 #undef FLAG_m 269 #undef FLAG_e 270 #undef FLAG_P 271 #undef FLAG_L 272 #undef FLAG_s 273 #undef FLAG_R 274 #undef FLAG_relative_base 275 #endif 276 277 // rm f(force)iRrv[-fi] f(force)iRrv[-fi] 278 #undef OPTSTR_rm 279 #define OPTSTR_rm "f(force)iRrv[-fi]" 280 #ifdef CLEANUP_rm 281 #undef CLEANUP_rm 282 #undef FOR_rm 283 #undef FLAG_v 284 #undef FLAG_r 285 #undef FLAG_R 286 #undef FLAG_i 287 #undef FLAG_f 288 #endif 289 290 // sed (help)(version)(tarxform)e*f*i:;nErz(null-data)s[+Er] (help)(version)(tarxform)e*f*i:;nErz(null-data)s[+Er] 291 #undef OPTSTR_sed 292 #define OPTSTR_sed "(help)(version)(tarxform)e*f*i:;nErz(null-data)s[+Er]" 293 #ifdef CLEANUP_sed 294 #undef CLEANUP_sed 295 #undef FOR_sed 296 #undef FLAG_s 297 #undef FLAG_z 298 #undef FLAG_r 299 #undef FLAG_E 300 #undef FLAG_n 301 #undef FLAG_i 302 #undef FLAG_f 303 #undef FLAG_e 304 #undef FLAG_tarxform 305 #undef FLAG_version 306 #undef FLAG_help 307 #endif 308 309 // sort S:T:mo:k*t:xVbMCcszdfirun gS:T:mo:k*t:xVbMCcszdfirun 310 #undef OPTSTR_sort 311 #define OPTSTR_sort "S:T:mo:k*t:xVbMCcszdfirun" 312 #ifdef CLEANUP_sort 313 #undef CLEANUP_sort 314 #undef FOR_sort 315 #undef FLAG_n 316 #undef FLAG_u 317 #undef FLAG_r 318 #undef FLAG_i 319 #undef FLAG_f 320 #undef FLAG_d 321 #undef FLAG_z 322 #undef FLAG_s 323 #undef FLAG_c 324 #undef FLAG_C 325 #undef FLAG_M 326 #undef FLAG_b 327 #undef FLAG_V 328 #undef FLAG_x 329 #undef FLAG_t 330 #undef FLAG_k 331 #undef FLAG_o 332 #undef FLAG_m 333 #undef FLAG_T 334 #undef FLAG_S 335 #undef FLAG_g 336 #endif 337 338 // tail ?fFs:c(bytes)-n(lines)-[-cn][-fF] ?fFs:c(bytes)-n(lines)-[-cn][-fF] 339 #undef OPTSTR_tail 340 #define OPTSTR_tail "?fFs:c(bytes)-n(lines)-[-cn][-fF]" 341 #ifdef CLEANUP_tail 342 #undef CLEANUP_tail 343 #undef FOR_tail 344 #undef FLAG_n 345 #undef FLAG_c 346 #undef FLAG_s 347 #undef FLAG_F 348 #undef FLAG_f 349 #endif 350 351 // tee ia ia 352 #undef OPTSTR_tee 353 #define OPTSTR_tee "ia" 354 #ifdef CLEANUP_tee 355 #undef CLEANUP_tee 356 #undef FOR_tee 357 #undef FLAG_a 358 #undef FLAG_i 359 #endif 360 361 // tr ^<1>2Ccstd[+cC] ^<1>2Ccstd[+cC] 362 #undef OPTSTR_tr 363 #define OPTSTR_tr "^<1>2Ccstd[+cC]" 364 #ifdef CLEANUP_tr 365 #undef CLEANUP_tr 366 #undef FOR_tr 367 #undef FLAG_d 368 #undef FLAG_t 369 #undef FLAG_s 370 #undef FLAG_c 371 #undef FLAG_C 372 #endif 373 374 // uname paomvrns paomvrns 375 #undef OPTSTR_uname 376 #define OPTSTR_uname "paomvrns" 377 #ifdef CLEANUP_uname 378 #undef CLEANUP_uname 379 #undef FOR_uname 380 #undef FLAG_s 381 #undef FLAG_n 382 #undef FLAG_r 383 #undef FLAG_v 384 #undef FLAG_m 385 #undef FLAG_o 386 #undef FLAG_a 387 #undef FLAG_p 388 #endif 389 390 // wc Lcmwl Lcmwl 391 #undef OPTSTR_wc 392 #define OPTSTR_wc "Lcmwl" 393 #ifdef CLEANUP_wc 394 #undef CLEANUP_wc 395 #undef FOR_wc 396 #undef FLAG_l 397 #undef FLAG_w 398 #undef FLAG_m 399 #undef FLAG_c 400 #undef FLAG_L 401 #endif 402 403 // xargs ^E:P#<0(null)=1optr(no-run-if-empty)n#<1(max-args)s#0[!0E] ^E:P#<0(null)=1optr(no-run-if-empty)n#<1(max-args)s#0[!0E] 404 #undef OPTSTR_xargs 405 #define OPTSTR_xargs "^E:P#<0(null)=1optr(no-run-if-empty)n#<1(max-args)s#0[!0E]" 406 #ifdef CLEANUP_xargs 407 #undef CLEANUP_xargs 408 #undef FOR_xargs 409 #undef FLAG_0 410 #undef FLAG_s 411 #undef FLAG_n 412 #undef FLAG_r 413 #undef FLAG_t 414 #undef FLAG_p 415 #undef FLAG_o 416 #undef FLAG_P 417 #undef FLAG_E 418 #endif 419 420 #ifdef FOR_basename 421 #define CLEANUP_basename 422 #ifndef TT 423 #define TT this.basename 424 #endif 425 #define FLAG_s (1LL<<0) 426 #define FLAG_a (1LL<<1) 427 #endif 428 429 #ifdef FOR_cat 430 #define CLEANUP_cat 431 #ifndef TT 432 #define TT this.cat 433 #endif 434 #define FLAG_e (1LL<<0) 435 #define FLAG_t (1LL<<1) 436 #define FLAG_v (1LL<<2) 437 #define FLAG_u (1LL<<3) 438 #endif 439 440 #ifdef FOR_chmod 441 #define CLEANUP_chmod 442 #ifndef TT 443 #define TT this.chmod 444 #endif 445 #define FLAG_R (1LL<<0) 446 #define FLAG_f (1LL<<1) 447 #define FLAG_v (1LL<<2) 448 #endif 449 450 #ifdef FOR_cmp 451 #define CLEANUP_cmp 452 #ifndef TT 453 #define TT this.cmp 454 #endif 455 #define FLAG_n (1LL<<0) 456 #define FLAG_s (1LL<<1) 457 #define FLAG_l (1LL<<2) 458 #endif 459 460 #ifdef FOR_echo 461 #define CLEANUP_echo 462 #ifndef TT 463 #define TT this.echo 464 #endif 465 #define FLAG_n (1LL<<0) 466 #define FLAG_e (1LL<<1) 467 #define FLAG_E (1LL<<2) 468 #endif 469 470 #ifdef FOR_fold 471 #define CLEANUP_fold 472 #ifndef TT 473 #define TT this.fold 474 #endif 475 #define FLAG_w (1LL<<0) 476 #define FLAG_s (1LL<<1) 477 #define FLAG_b (1LL<<2) 478 #endif 479 480 #ifdef FOR_grep 481 #define CLEANUP_grep 482 #ifndef TT 483 #define TT this.grep 484 #endif 485 #define FLAG_x (1LL<<0) 486 #define FLAG_m (1LL<<1) 487 #define FLAG_A (1LL<<2) 488 #define FLAG_B (1LL<<3) 489 #define FLAG_C (1LL<<4) 490 #define FLAG_f (1LL<<5) 491 #define FLAG_e (1LL<<6) 492 #define FLAG_q (1LL<<7) 493 #define FLAG_l (1LL<<8) 494 #define FLAG_L (1LL<<9) 495 #define FLAG_c (1LL<<10) 496 #define FLAG_w (1LL<<11) 497 #define FLAG_v (1LL<<12) 498 #define FLAG_s (1LL<<13) 499 #define FLAG_R (1LL<<14) 500 #define FLAG_r (1LL<<15) 501 #define FLAG_o (1LL<<16) 502 #define FLAG_n (1LL<<17) 503 #define FLAG_i (1LL<<18) 504 #define FLAG_h (1LL<<19) 505 #define FLAG_b (1LL<<20) 506 #define FLAG_a (1LL<<21) 507 #define FLAG_I (1LL<<22) 508 #define FLAG_H (1LL<<23) 509 #define FLAG_F (1LL<<24) 510 #define FLAG_E (1LL<<25) 511 #define FLAG_z (1LL<<26) 512 #define FLAG_Z (1LL<<27) 513 #define FLAG_M (1LL<<28) 514 #define FLAG_S (1LL<<29) 515 #define FLAG_exclude_dir (1LL<<30) 516 #define FLAG_color (1LL<<31) 517 #define FLAG_line_buffered (1LL<<32) 518 #endif 519 520 #ifdef FOR_gzip 521 #define CLEANUP_gzip 522 #ifndef TT 523 #define TT this.gzip 524 #endif 525 #define FLAG_9 (1LL<<0) 526 #define FLAG_8 (1LL<<1) 527 #define FLAG_7 (1LL<<2) 528 #define FLAG_6 (1LL<<3) 529 #define FLAG_5 (1LL<<4) 530 #define FLAG_4 (1LL<<5) 531 #define FLAG_3 (1LL<<6) 532 #define FLAG_2 (1LL<<7) 533 #define FLAG_1 (1LL<<8) 534 #define FLAG_t (1LL<<9) 535 #define FLAG_k (1LL<<10) 536 #define FLAG_f (1LL<<11) 537 #define FLAG_d (1LL<<12) 538 #define FLAG_c (1LL<<13) 539 #define FLAG_n (1LL<<14) 540 #endif 541 542 #ifdef FOR_head 543 #define CLEANUP_head 544 #ifndef TT 545 #define TT this.head 546 #endif 547 #define FLAG_v (1LL<<0) 548 #define FLAG_q (1LL<<1) 549 #define FLAG_c (1LL<<2) 550 #define FLAG_n (1LL<<3) 551 #endif 552 553 #ifdef FOR_ln 554 #define CLEANUP_ln 555 #ifndef TT 556 #define TT this.ln 557 #endif 558 #define FLAG_s (1LL<<0) 559 #define FLAG_f (1LL<<1) 560 #define FLAG_n (1LL<<2) 561 #define FLAG_v (1LL<<3) 562 #define FLAG_T (1LL<<4) 563 #define FLAG_t (1LL<<5) 564 #define FLAG_r (1LL<<6) 565 #endif 566 567 #ifdef FOR_ls 568 #define CLEANUP_ls 569 #ifndef TT 570 #define TT this.ls 571 #endif 572 #define FLAG_1 (1LL<<0) 573 #define FLAG_x (1LL<<1) 574 #define FLAG_w (1LL<<2) 575 #define FLAG_u (1LL<<3) 576 #define FLAG_t (1LL<<4) 577 #define FLAG_s (1LL<<5) 578 #define FLAG_r (1LL<<6) 579 #define FLAG_q (1LL<<7) 580 #define FLAG_p (1LL<<8) 581 #define FLAG_n (1LL<<9) 582 #define FLAG_m (1LL<<10) 583 #define FLAG_l (1LL<<11) 584 #define FLAG_k (1LL<<12) 585 #define FLAG_i (1LL<<13) 586 #define FLAG_h (1LL<<14) 587 #define FLAG_f (1LL<<15) 588 #define FLAG_d (1LL<<16) 589 #define FLAG_c (1LL<<17) 590 #define FLAG_b (1LL<<18) 591 #define FLAG_a (1LL<<19) 592 #define FLAG_X (1LL<<20) 593 #define FLAG_U (1LL<<21) 594 #define FLAG_S (1LL<<22) 595 #define FLAG_R (1LL<<23) 596 #define FLAG_N (1LL<<24) 597 #define FLAG_L (1LL<<25) 598 #define FLAG_H (1LL<<26) 599 #define FLAG_F (1LL<<27) 600 #define FLAG_C (1LL<<28) 601 #define FLAG_A (1LL<<29) 602 #define FLAG_o (1LL<<30) 603 #define FLAG_g (1LL<<31) 604 #define FLAG_Z (1LL<<32) 605 #define FLAG_X7E (1LL<<33) 606 #define FLAG_X21 (1LL<<34) 607 #define FLAG_X7F (1LL<<35) 608 #define FLAG_show_control_chars (1LL<<36) 609 #define FLAG_full_time (1LL<<37) 610 #define FLAG_color (1LL<<38) 611 #define FLAG_sort (1LL<<39) 612 #endif 613 614 #ifdef FOR_mkdir 615 #define CLEANUP_mkdir 616 #ifndef TT 617 #define TT this.mkdir 618 #endif 619 #define FLAG_m (1LL<<0) 620 #define FLAG_p (1LL<<1) 621 #define FLAG_v (1LL<<2) 622 #define FLAG_Z (FORCED_FLAG<<3) 623 #endif 624 625 #ifdef FOR_od 626 #define CLEANUP_od 627 #ifndef TT 628 #define TT this.od 629 #endif 630 #define FLAG_t (1LL<<0) 631 #define FLAG_A (1LL<<1) 632 #define FLAG_b (1LL<<2) 633 #define FLAG_c (1LL<<3) 634 #define FLAG_d (1LL<<4) 635 #define FLAG_o (1LL<<5) 636 #define FLAG_s (1LL<<6) 637 #define FLAG_x (1LL<<7) 638 #define FLAG_N (1LL<<8) 639 #define FLAG_w (1LL<<9) 640 #define FLAG_v (1LL<<10) 641 #define FLAG_j (1LL<<11) 642 #endif 643 644 #ifdef FOR_readlink 645 #define CLEANUP_readlink 646 #ifndef TT 647 #define TT this.readlink 648 #endif 649 #define FLAG_z (1LL<<0) 650 #define FLAG_q (1LL<<1) 651 #define FLAG_m (1LL<<2) 652 #define FLAG_e (1LL<<3) 653 #define FLAG_f (1LL<<4) 654 #define FLAG_n (1LL<<5) 655 #define FLAG_v (1LL<<6) 656 #endif 657 658 #ifdef FOR_realpath 659 #define CLEANUP_realpath 660 #ifndef TT 661 #define TT this.realpath 662 #endif 663 #define FLAG_z (FORCED_FLAG<<0) 664 #define FLAG_q (FORCED_FLAG<<1) 665 #define FLAG_m (FORCED_FLAG<<2) 666 #define FLAG_e (FORCED_FLAG<<3) 667 #define FLAG_P (FORCED_FLAG<<4) 668 #define FLAG_L (FORCED_FLAG<<5) 669 #define FLAG_s (FORCED_FLAG<<6) 670 #define FLAG_R (FORCED_FLAG<<7) 671 #define FLAG_relative_base (FORCED_FLAG<<8) 672 #endif 673 674 #ifdef FOR_rm 675 #define CLEANUP_rm 676 #ifndef TT 677 #define TT this.rm 678 #endif 679 #define FLAG_v (1LL<<0) 680 #define FLAG_r (1LL<<1) 681 #define FLAG_R (1LL<<2) 682 #define FLAG_i (1LL<<3) 683 #define FLAG_f (1LL<<4) 684 #endif 685 686 #ifdef FOR_sed 687 #define CLEANUP_sed 688 #ifndef TT 689 #define TT this.sed 690 #endif 691 #define FLAG_s (1LL<<0) 692 #define FLAG_z (1LL<<1) 693 #define FLAG_r (1LL<<2) 694 #define FLAG_E (1LL<<3) 695 #define FLAG_n (1LL<<4) 696 #define FLAG_i (1LL<<5) 697 #define FLAG_f (1LL<<6) 698 #define FLAG_e (1LL<<7) 699 #define FLAG_tarxform (1LL<<8) 700 #define FLAG_version (1LL<<9) 701 #define FLAG_help (1LL<<10) 702 #endif 703 704 #ifdef FOR_sort 705 #define CLEANUP_sort 706 #ifndef TT 707 #define TT this.sort 708 #endif 709 #define FLAG_n (1LL<<0) 710 #define FLAG_u (1LL<<1) 711 #define FLAG_r (1LL<<2) 712 #define FLAG_i (1LL<<3) 713 #define FLAG_f (1LL<<4) 714 #define FLAG_d (1LL<<5) 715 #define FLAG_z (1LL<<6) 716 #define FLAG_s (1LL<<7) 717 #define FLAG_c (1LL<<8) 718 #define FLAG_C (1LL<<9) 719 #define FLAG_M (1LL<<10) 720 #define FLAG_b (1LL<<11) 721 #define FLAG_V (1LL<<12) 722 #define FLAG_x (1LL<<13) 723 #define FLAG_t (1LL<<14) 724 #define FLAG_k (1LL<<15) 725 #define FLAG_o (1LL<<16) 726 #define FLAG_m (1LL<<17) 727 #define FLAG_T (1LL<<18) 728 #define FLAG_S (1LL<<19) 729 #define FLAG_g (FORCED_FLAG<<20) 730 #endif 731 732 #ifdef FOR_tail 733 #define CLEANUP_tail 734 #ifndef TT 735 #define TT this.tail 736 #endif 737 #define FLAG_n (1LL<<0) 738 #define FLAG_c (1LL<<1) 739 #define FLAG_s (1LL<<2) 740 #define FLAG_F (1LL<<3) 741 #define FLAG_f (1LL<<4) 742 #endif 743 744 #ifdef FOR_tee 745 #define CLEANUP_tee 746 #ifndef TT 747 #define TT this.tee 748 #endif 749 #define FLAG_a (1LL<<0) 750 #define FLAG_i (1LL<<1) 751 #endif 752 753 #ifdef FOR_tr 754 #define CLEANUP_tr 755 #ifndef TT 756 #define TT this.tr 757 #endif 758 #define FLAG_d (1LL<<0) 759 #define FLAG_t (1LL<<1) 760 #define FLAG_s (1LL<<2) 761 #define FLAG_c (1LL<<3) 762 #define FLAG_C (1LL<<4) 763 #endif 764 765 #ifdef FOR_uname 766 #define CLEANUP_uname 767 #ifndef TT 768 #define TT this.uname 769 #endif 770 #define FLAG_s (1LL<<0) 771 #define FLAG_n (1LL<<1) 772 #define FLAG_r (1LL<<2) 773 #define FLAG_v (1LL<<3) 774 #define FLAG_m (1LL<<4) 775 #define FLAG_o (1LL<<5) 776 #define FLAG_a (1LL<<6) 777 #define FLAG_p (1LL<<7) 778 #endif 779 780 #ifdef FOR_wc 781 #define CLEANUP_wc 782 #ifndef TT 783 #define TT this.wc 784 #endif 785 #define FLAG_l (1LL<<0) 786 #define FLAG_w (1LL<<1) 787 #define FLAG_m (1LL<<2) 788 #define FLAG_c (1LL<<3) 789 #define FLAG_L (1LL<<4) 790 #endif 791 792 #ifdef FOR_xargs 793 #define CLEANUP_xargs 794 #ifndef TT 795 #define TT this.xargs 796 #endif 797 #define FLAG_0 (1LL<<0) 798 #define FLAG_s (1LL<<1) 799 #define FLAG_n (1LL<<2) 800 #define FLAG_r (1LL<<3) 801 #define FLAG_t (1LL<<4) 802 #define FLAG_p (1LL<<5) 803 #define FLAG_o (1LL<<6) 804 #define FLAG_P (1LL<<7) 805 #define FLAG_E (1LL<<8) 806 #endif 807 808 #undef OPTSTR_ascii 809 #define OPTSTR_ascii 0 810 #undef OPTSTR_dirname 811 #define OPTSTR_dirname "<1" 812 #undef OPTSTR_gitcheckout 813 #define OPTSTR_gitcheckout "<1" 814 #undef OPTSTR_gitclone 815 #define OPTSTR_gitclone "<1" 816 #undef OPTSTR_gitfetch 817 #define OPTSTR_gitfetch 0 818 #undef OPTSTR_gitinit 819 #define OPTSTR_gitinit "<1" 820 #undef OPTSTR_gitremote 821 #define OPTSTR_gitremote "<1" 822 #undef OPTSTR_makedevs 823 #define OPTSTR_makedevs "<1>1d:" 824 #undef OPTSTR_toybox 825 #define OPTSTR_toybox 0 826 #undef OPTSTR_which 827 #define OPTSTR_which "<1a" 828