diff options
author | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-16 20:57:15 +0000 |
---|---|---|
committer | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-16 20:57:15 +0000 |
commit | d353f773bab8c0f92e149a74400aa31b57da9d05 (patch) | |
tree | e8c416c791c690f661c513340662e4e98ff3464a /dc.c | |
parent | 3ab1d8193e335afa74e86a8d8e628158d7e503b9 (diff) | |
download | busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.gz busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.bz2 busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.zip |
Extract usage information into a separate file.
git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'dc.c')
-rw-r--r-- | dc.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -8,14 +8,6 @@ | |||
8 | 8 | ||
9 | /* Tiny RPN calculator, because "expr" didn't give me bitwise operations. */ | 9 | /* Tiny RPN calculator, because "expr" didn't give me bitwise operations. */ |
10 | 10 | ||
11 | static const char dc_usage[] = "dc expression ...\n" | ||
12 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
13 | "\nThis is a Tiny RPN calculator that understands the\n" | ||
14 | "following operations: +, -, /, *, and, or, not, eor.\n" | ||
15 | "i.e. 'dc 2 2 add' -> 4, and 'dc 8 8 \\* 2 2 + /' -> 16\n" | ||
16 | #endif | ||
17 | ; | ||
18 | |||
19 | static double stack[100]; | 11 | static double stack[100]; |
20 | static unsigned int pointer; | 12 | static unsigned int pointer; |
21 | 13 | ||