diff options
Diffstat (limited to 'include/usage.src.h')
| -rw-r--r-- | include/usage.src.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/usage.src.h b/include/usage.src.h index 9b326eebb..0053a7c4b 100644 --- a/include/usage.src.h +++ b/include/usage.src.h | |||
| @@ -736,28 +736,6 @@ INSERT | |||
| 736 | "$ date\n" \ | 736 | "$ date\n" \ |
| 737 | "Wed Apr 12 18:52:41 MDT 2000\n" | 737 | "Wed Apr 12 18:52:41 MDT 2000\n" |
| 738 | 738 | ||
| 739 | #define dc_trivial_usage \ | ||
| 740 | "expression..." | ||
| 741 | #define dc_full_usage "\n\n" \ | ||
| 742 | "Tiny RPN calculator. Operations:\n" \ | ||
| 743 | "+, add, -, sub, *, mul, /, div, %, mod, **, exp, and, or, not, eor,\n" \ | ||
| 744 | "p - print top of the stack (without altering the stack),\n" \ | ||
| 745 | "f - print entire stack, o - pop the value and set output radix\n" \ | ||
| 746 | "(value must be 10 or 16).\n" \ | ||
| 747 | "Examples: 'dc 2 2 add' -> 4, 'dc 8 8 * 2 2 + /' -> 16\n" \ | ||
| 748 | |||
| 749 | #define dc_example_usage \ | ||
| 750 | "$ dc 2 2 + p\n" \ | ||
| 751 | "4\n" \ | ||
| 752 | "$ dc 8 8 \\* 2 2 + / p\n" \ | ||
| 753 | "16\n" \ | ||
| 754 | "$ dc 0 1 and p\n" \ | ||
| 755 | "0\n" \ | ||
| 756 | "$ dc 0 1 or p\n" \ | ||
| 757 | "1\n" \ | ||
| 758 | "$ echo 72 9 div 8 mul p | dc\n" \ | ||
| 759 | "64\n" | ||
| 760 | |||
| 761 | #define dd_trivial_usage \ | 739 | #define dd_trivial_usage \ |
| 762 | "[if=FILE] [of=FILE] " IF_FEATURE_DD_IBS_OBS("[ibs=N] [obs=N] ") "[bs=N] [count=N] [skip=N]\n" \ | 740 | "[if=FILE] [of=FILE] " IF_FEATURE_DD_IBS_OBS("[ibs=N] [obs=N] ") "[bs=N] [count=N] [skip=N]\n" \ |
| 763 | " [seek=N]" IF_FEATURE_DD_IBS_OBS(" [conv=notrunc|noerror|sync|fsync]") | 741 | " [seek=N]" IF_FEATURE_DD_IBS_OBS(" [conv=notrunc|noerror|sync|fsync]") |
