diff options
author | Rob Landley <rob@landley.net> | 2012-12-23 01:21:01 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2012-12-23 01:21:01 -0600 |
commit | a8f3bf04aee8f1c6716a420719af57cd6c5a7caa (patch) | |
tree | 6701d90edd2449314a5f48f0632d55a54bc60a11 /toys | |
parent | 434d35197957969ee200fff0424807c1a97e7d2d (diff) | |
download | toybox-a8f3bf04aee8f1c6716a420719af57cd6c5a7caa.tar.gz |
Whitespace.
Diffstat (limited to 'toys')
-rw-r--r-- | toys/lsb/seq.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/toys/lsb/seq.c b/toys/lsb/seq.c index 2aac4bbf..bf5cab1c 100644 --- a/toys/lsb/seq.c +++ b/toys/lsb/seq.c @@ -16,6 +16,7 @@ config SEQ Count from first to last, by increment. Omitted arguments default to 1. Two arguments are used as first and last. Arguments can be negative or floating point. + -f Use fmt_str as a floating point format string -s Use sep_str as separator, default is a newline character */ @@ -24,16 +25,17 @@ config SEQ #include "toys.h" GLOBALS( - char * sep; - char * fmt; + char *sep; + char *fmt; ) void seq_main(void) { double first, increment, last, dd; - char * sep_str = "\n"; - char * fmt_str = "%g"; + char *sep_str = "\n"; + char *fmt_str = "%g"; int output = 0; + // Parse command line arguments, with appropriate defaults. // Note that any non-numeric arguments are treated as zero. first = increment = 1; |