diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-13 17:38:34 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-13 17:38:34 +0100 |
| commit | 4ed3c52ce9b3ce5604c4fa075fda374f8cd01eea (patch) | |
| tree | a8ea24dc52ac00ed72df6d64d43f0076acae9887 /include | |
| parent | 07cda2268a6cff59378af16eabc4968d9bebe915 (diff) | |
| download | busybox-w32-4ed3c52ce9b3ce5604c4fa075fda374f8cd01eea.tar.gz busybox-w32-4ed3c52ce9b3ce5604c4fa075fda374f8cd01eea.tar.bz2 busybox-w32-4ed3c52ce9b3ce5604c4fa075fda374f8cd01eea.zip | |
mktemp: make it more compatible with GNU coreutils 8.4
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/usage.src.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/include/usage.src.h b/include/usage.src.h index ebe80f8e1..c2575b561 100644 --- a/include/usage.src.h +++ b/include/usage.src.h | |||
| @@ -2451,26 +2451,6 @@ INSERT | |||
| 2451 | "\nOptions:" \ | 2451 | "\nOptions:" \ |
| 2452 | "\n -L LBL Label" \ | 2452 | "\n -L LBL Label" \ |
| 2453 | 2453 | ||
| 2454 | #define mktemp_trivial_usage \ | ||
| 2455 | "[-dt] [-p DIR] [TEMPLATE]" | ||
| 2456 | #define mktemp_full_usage "\n\n" \ | ||
| 2457 | "Create a temporary file with name based on TEMPLATE and print its name.\n" \ | ||
| 2458 | "TEMPLATE must end with XXXXXX (e.g. [/dir/]nameXXXXXX).\n" \ | ||
| 2459 | "\nOptions:" \ | ||
| 2460 | "\n -d Make a directory instead of a file" \ | ||
| 2461 | /* "\n -q Fail silently if an error occurs" - we ignore it */ \ | ||
| 2462 | "\n -t Generate a path rooted in temporary directory" \ | ||
| 2463 | "\n -p DIR Use DIR as a temporary directory (implies -t)" \ | ||
| 2464 | "\n" \ | ||
| 2465 | "\nFor -t or -p, directory is chosen as follows:" \ | ||
| 2466 | "\n$TMPDIR if set, else -p DIR, else /tmp" \ | ||
| 2467 | |||
| 2468 | #define mktemp_example_usage \ | ||
| 2469 | "$ mktemp /tmp/temp.XXXXXX\n" \ | ||
| 2470 | "/tmp/temp.mWiLjM\n" \ | ||
| 2471 | "$ ls -la /tmp/temp.mWiLjM\n" \ | ||
| 2472 | "-rw------- 1 andersen andersen 0 Apr 25 17:10 /tmp/temp.mWiLjM\n" | ||
| 2473 | |||
| 2474 | #define more_trivial_usage \ | 2454 | #define more_trivial_usage \ |
| 2475 | "[FILE]..." | 2455 | "[FILE]..." |
| 2476 | #define more_full_usage "\n\n" \ | 2456 | #define more_full_usage "\n\n" \ |
