summaryrefslogtreecommitdiff
path: root/src/seq.c
AgeCommit message (Collapse)Author
1999-04-26(main): Revert last change.Jim Meyering
Instead, loop on `optind < argc' to protect use of argv[optind].
1999-04-26revert last changeJim Meyering
1999-04-26(main): Handle the case in which seq is given no args.Jim Meyering
1999-04-19(main): Restore `+' in getopt_long string. Otherwise,Jim Meyering
commands like `seq 10 -2 0' wouldn't work. From Andreas Schwab.
1999-03-31No longer include long-options.h.Jim Meyering
[long_options]: Add entries for --help and --version. Remove parse_long_options call. (main) [getopt switch]: Add a case for each of --help and --version.
1999-03-31(PROGRAM_NAME, AUTHORS): Define and use.Jim Meyering
1999-03-06Include long-options.h.Jim Meyering
[long_options]: Remove the "help" and "version" entries. Remove declarations of show_help and show_version. (main): Use parse_long_options, including author name(s). Remove the show_version and show_help blocks.
1999-02-16update copyright datesJim Meyering
1999-01-25(usage): Remove static attribute.Jim Meyering
1998-09-28(main): Decrement optind when we find an `option' thatJim Meyering
looks like -N. Reported by Clark Morgan.
1998-09-19update bug-reporting addressJim Meyering
1998-07-15(check_format): Add `5' to the list of digits.Jim Meyering
Reported by Donni Erpel.
1998-05-02(check_format): Use ISDIGIT, not isdigit.Jim Meyering
1997-12-21s/__P/PARAMS/Jim Meyering
1997-10-07update bug-reporting addressJim Meyering
1997-07-13indentJim Meyering
1997-03-19(check_format): Rename local, FORMAT_STRING, to avoid shadowing global.Jim Meyering
(print_numbers): Likewise.
1997-02-09update copyrights for 1997Jim Meyering
1997-02-01bracket bug address with <> and append a periodJim Meyering
1997-02-01Compare getopt_long return value against -1, not EOF. Use NULL, not '(int ↵Jim Meyering
*) 0' as last parameter in getopt_long call.
1996-12-21(usage): Tweak --usage text.Jim Meyering
1996-11-03change bug-reporting addressJim Meyering
1996-11-02change bug-reporting addressJim Meyering
1996-10-05(main): update --version output to conform to coding standardJim Meyering
1996-09-02(usage): Tell where to report bugs.Jim Meyering
1996-07-18Include <sys/types.h> before system.h.Jim Meyering
1996-05-20(usage): Make it a little clearer.Jim Meyering
1996-05-05Remove useless void casts of *printf return values.Jim Meyering
1996-04-22(usage): Use FIRST, LAST consistently in description.Jim Meyering
1996-04-21(usage): Improve help message. From Karl Berry.Jim Meyering
1996-04-08(print_numbers): Fix off-by-one error in backwards-counting loop.Jim Meyering
Reported by Karl Eichwalder.
1996-04-07.Jim Meyering
1996-04-07Fiddle with messages.Jim Meyering
1996-04-07(print_numbers): Give more precise diagnostic when incrementJim Meyering
is inconsistent with FROM and TO. (usage): Clean up help message.
1996-04-07(main): Rearrange loops to get it right.Jim Meyering
Reported by Karl Eichwalder <ke@ke.Central.DE>.
1996-03-24Update FSF's address.Jim Meyering
1996-03-24Include xstrtod.h.Jim Meyering
(scan_double_arg): Use xstrtod rather than strtod directly.
1996-03-24Make parameters const where appropriate.Jim Meyering
Rename global FROM to START. (print_numbers): Rewrite loops to avoid incrementing. Instead, use `x = first + i * increment' paradigm. Otherwise, with inexact increment, you could miss the last value.
1996-03-21(main): Declare to be of type int, not void.Jim Meyering
1996-03-16Don't include version.h.Jim Meyering
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-12(main): Initialize for internationalized message support:Jim Meyering
call setlocale, bindtextdomain, and textdomain.
1996-03-05(main): Exit after processing --version.Jim Meyering
1996-01-14.Jim Meyering
1996-01-14Include config.h.Jim Meyering
1996-01-06Protoize and __P-protect forward dcls.Jim Meyering
1995-11-27s/non-zero/nonzero/gJim Meyering
1995-08-08Annotate localizable strings with _(...). From Franc,ois.Jim Meyering
1995-03-09add 1995 to Copyright datesJim Meyering
1995-02-27Remove \n's from error format strings.Jim Meyering
(main): Let `seq 1 1' work. Invoke usage always with 1 when failing.
1995-01-12Fix typo: seperator -> separator.Jim Meyering