Commit Graph

20 Commits

Author SHA1 Message Date
FRIGN 31572c8b0e Clean up #includes 2015-02-14 21:12:23 +01:00
FRIGN 27b770c02c Adjust some limits to more flexibility for strtonum 2015-02-01 01:24:03 +01:00
sin c7f2848a35 seq: Use INT_MIN as opposed to -INT_MAX 2015-01-30 16:47:00 +00:00
FRIGN fd562481f3 Convert estrto{l, ul} to estrtonum
Enough with this insanity!
2015-01-30 16:52:44 +01:00
FRIGN ec8246bbc6 Un-boolify sbase
It actually makes the binaries smaller, the code easier to read
(gems like "val == true", "val == false" are gone) and actually
predictable in the sense of that we actually know what we're
working with (one bitwise operator was quite adventurous and
should now be fixed).

This is also more consistent with the other suckless projects
around which don't use boolean types.
2014-11-14 10:54:20 +00:00
FRIGN eee98ed3a4 Fix coding style
It was about damn time. Consistency is very important in such a
big codebase.
2014-11-13 18:08:43 +00:00
sin 0c5b7b9155 Stop using EXIT_{SUCCESS,FAILURE} 2014-10-02 23:46:59 +01:00
Hiltjo Posthuma d12e953f18 add agetline, separate estrtod to util
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-06-01 18:01:45 +01:00
sin b2a0362bf8 Use estrtol() instead of atoi() 2013-10-27 09:49:08 +00:00
sin b5a511dacf Exit with EXIT_SUCCESS/EXIT_FAILURE instead of 0 and 1
Fixed for consistency purposes.
2013-10-07 16:44:22 +01:00
David Galos 563742500e Fixing seq 2013-07-01 13:25:41 -04:00
stateless 7216a53a7e Remove unnecessary exit(1) in usage()
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-06-19 19:58:19 +02:00
Christoph Lohmann 4d38f60685 Eliminating the getopt disgrace. 2013-06-14 20:20:47 +02:00
Connor Lane Smith 284e9f723d seq: remove unused fflag 2012-06-09 18:53:39 +01:00
Connor Lane Smith ec6924a56e seq: set ff=unix (?!) 2012-06-09 18:53:05 +01:00
Connor Lane Smith 6e0f5c1409 seq: some cleanup 2012-05-10 19:20:16 +01:00
Christoph Lohmann 96b15a5afa Fixing validfmt and optimizing the algorithm. (Thanks David Galos) 2012-04-18 13:41:05 +02:00
Christoph Lohmann 29ce2560a7 Fixes and checks for seq. Thanks David Galos! 2012-04-16 21:46:59 +02:00
Christoph Lohmann d512d7938e Adding a manpage for seq(1). 2012-04-11 18:59:33 +02:00
Christoph Lohmann e8d6e30106 Adding seq command. 2012-04-10 17:33:19 +02:00