# HG changeset patch # User Rob Landley # Date 1356247261 21600 # Node ID 41b067739bd0446a5829c91c54bc0ed01eef0abc # Parent 143a9729fec8a17136efd073c9b70c92c7b037ad Whitespace. diff -r 143a9729fec8 -r 41b067739bd0 toys/lsb/seq.c --- a/toys/lsb/seq.c Sun Dec 16 17:58:25 2012 +0100 +++ b/toys/lsb/seq.c Sun Dec 23 01:21:01 2012 -0600 @@ -16,6 +16,7 @@ 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 @@ #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;