Jean Wolter writes:
[oweals/busybox.git] / coreutils / seq.c
index 8401a6defd0d5cda6fe37e9d726994099b347ac7..8a2a80c144264215fb4694390fcde0780d396e2d 100644 (file)
@@ -36,7 +36,7 @@ extern int seq_main(int argc, char **argv)
        }
        last = atof(argv[argc - 1]);
 
-       for (i = first; ((first < last) ? (i <= last): (i >= last));i += increment) {
+       for (i = first; ((first <= last) ? (i <= last): (i >= last));i += increment) {
                printf("%g\n", i);
        }