From ce97960a6e7da4d9fc7a003c9138aec5e4e55a96 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 27 Sep 2006 23:31:08 +0000 Subject: usage.h: remove ugly tricks. We have USE_FEATURE_xxx now. Few bugs are now exposed... --- coreutils/seq.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'coreutils') diff --git a/coreutils/seq.c b/coreutils/seq.c index 79fafbc8b..f2b4706f2 100644 --- a/coreutils/seq.c +++ b/coreutils/seq.c @@ -18,11 +18,11 @@ int seq_main(int argc, char **argv) first = increment = 1; switch (argc) { case 4: - increment=atof(argv[2]); + increment = atof(argv[2]); case 3: - first=atof(argv[1]); + first = atof(argv[1]); case 2: - last=atof(argv[argc -1]); + last = atof(argv[argc-1]); break; default: bb_show_usage(); @@ -30,8 +30,8 @@ int seq_main(int argc, char **argv) /* You should note that this is pos-5.0.91 semantics, -- FK. */ for (i = first; - (increment > 0 && i <= last) || (increment < 0 && i >=last); - i += increment) + (increment > 0 && i <= last) || (increment < 0 && i >=last); + i += increment) { printf("%g\n", i); } -- cgit v1.2.3