aboutsummaryrefslogtreecommitdiff
path: root/coreutils/seq.c
Commit message (Collapse)AuthorAgeFilesLines
* config: update size informationGravatar Denys Vlasenko2018-12-281-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* NOFORK fixesGravatar Denys Vlasenko2017-08-021-2/+3
| | | | | | | | | | | | | | | | | | "rm -i FILE" and "yes" can now be interrupted by ^C in hush. This also now works: $ usleep 19999999 ^C $ echo $? 130 function old new delta run_pipe 1668 1711 +43 pseudo_exec_argv 312 321 +9 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 52/0) Total: 52 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* config: deindent all help textsGravatar Denys Vlasenko2017-07-211-1/+1
| | | | | | Those two spaces after tab have no effect, and always a nuisance when editing. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Update menuconfig items with approximate applet sizesGravatar Denys Vlasenko2017-07-181-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Convert all coreutils/* applets to "new style" applet definitionsGravatar Denys Vlasenko2016-11-231-0/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: remove "Options:" string from help textsGravatar Denys Vlasenko2011-06-051-1/+0
| | | | | | | function old new delta packed_usage 28706 28623 -83 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move help text from include/usage.src.h to coreutils/*.cGravatar Pere Orga2011-03-311-0/+10
| | | | | Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* seq: exit on write errorsGravatar Denys Vlasenko2010-10-171-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: make GNU licensing statement forms more regularGravatar Denys Vlasenko2010-08-161-1/+1
| | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: introduce and use ffulsh_all()Gravatar Denys Vlasenko2009-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | function old new delta buffer_fill_and_print 179 196 +17 fflush_all - 9 +9 spawn 87 92 +5 rtcwake_main 455 453 -2 ... alarm_intr 93 84 -9 readcmd 1072 1062 -10 bb_ask 345 333 -12 more_main 845 832 -13 flush_stdout_stderr 42 23 -19 xfflush_stdout 27 - -27 flush_stderr 30 - -30 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 2/50 up/down: 31/-397) Total: -366 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* seq: fix input handling in non-C localesGravatar Denys Vlasenko2009-06-151-1/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* seq: fix testsuite failuresGravatar Denys Vlasenko2009-06-151-16/+51
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* seq: shrink by 10 bytesGravatar Denis Vlasenko2008-11-121-8/+9
|
* - add support for seq -s <separator>Gravatar Bernhard Reutner-Fischer2008-11-121-4/+9
|
* - add seq -w support (Natanael Copa)Gravatar Bernhard Reutner-Fischer2008-11-121-4/+11
|
* add -fvisibility=hidden to CC flags, mark XXX_main functionsGravatar Denis Vlasenko2007-10-111-1/+1
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* usage.c: remove reference to busybox.hGravatar Denis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* audit small applets and mark some of them as NOFORK.Gravatar Denis Vlasenko2007-04-101-10/+9
| | | | | Put big scary warnings in relevant places.
* suppress warnings about easch <applet>_main() havingGravatar Denis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* usage.h: remove ugly tricks. We have USE_FEATURE_xxx now.Gravatar Denis Vlasenko2006-09-271-5/+5
| | | | Few bugs are now exposed...
* whitespace cleanupGravatar Denis Vlasenko2006-09-171-1/+1
|
* Re-wordwrap the new tests, and fix seq.c to pass them.Gravatar Rob Landley2006-04-271-7/+5
|
* Fix "seq 1 1".Gravatar Rob Landley2006-03-221-2/+2
|
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionGravatar Rob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* "sed 2 -2 10" was very unhappy. Made the thing bigger fixing it, Gravatar Rob Landley2006-02-231-31/+22
| | | | fiddled a bit to get the size back down as much as I could...
* Patch from Felipe Kellermann, fix endless loop when first > last andGravatar Glenn L McGrath2004-07-231-6/+13
| | | | increment > 0.
* Jean Wolter writes:Gravatar Eric Andersen2004-02-041-1/+1
| | | | | | | | | | | | | | | Hello, when calling seq with seq 1 1 it generates an "endless" list of numbers until the counter wraps and reaches 1 again. The follwoing small patch should introduce the expected behavior (output of 1 and termination): regards, Jean
* New applet, seq. No options, just the basics.Gravatar Glenn L McGrath2004-01-271-0/+44