aboutsummaryrefslogtreecommitdiff
path: root/editors/sed.c
AgeCommit message (Collapse)Author
2008-02-28sed: n cmd must reset "we had successful subst" flag. closes bug 1214.Denis Vlasenko
2008-02-17libbb: introduce and use xrename and rename_or_warn.Denis Vlasenko
2008-02-16random s/short/int/Denis Vlasenko
add_cmd 1189 1190 +1 xconnect_ftpdata 118 117 -1 data_align 86 84 -2 process_files 2101 2096 -5 forkexec 1345 1334 -11
2007-11-13sed: support GNU-like '\t' escape in substitutionsDenis Vlasenko
2007-10-11add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
2007-09-28fix "if (p) free(p)" constructsDenis Vlasenko
2007-09-21update Glenn McGrath's email addressDenis Vlasenko
2007-08-18don't pass argc in getopt32, it's superfluousDenis Vlasenko
(add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
2007-08-12trylink: produce even more info about final link stageDenis Vlasenko
trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
2007-08-06sed: fix 'q' command handling ("Nguyen Thai Ngoc Duy" <pclouds@gmail.com>)Denis Vlasenko
add testsuite entry for it. Fix applet order checker. Fix cmp yelling. trylink: fix error file and map file generation applets: fix applet order
2007-06-04Audit bb_common_bufsiz usage, add script which looks for misuse.Denis Vlasenko
tr: stop using globals needlessly. code: -103 bytes
2007-05-30whitespace fixesDenis Vlasenko
2007-05-26usage.c: remove reference to busybox.hDenis Vlasenko
*: s/include "busybox.h"/include "libbb.h"
2007-04-12sed: fix escaped newlines in -f; fix multiple -f and -eDenis Vlasenko
(broke when getopt32 was fixed to not reverse the list)
2007-03-26sed: a communal variable managed to slip past 'size'Denis Vlasenko
('size' happily displays 0 bytes in data and bss, but in reality sed.o used 180 bytes of it). Oh well. function old new delta pipe_putc 67 76 +9 sed_main 627 633 +6 get_next_line 161 166 +5 bbg 180 - -180 (add/remove: 0/1 grow/shrink: 3/0 up/down: 20/-180) Total: -160 bytes sed: also make sed -i failure message less cryptic
2007-03-16sed: fix very obscure case of escaped newline in sed commandDenis Vlasenko
(needed for uclibc build, btw). Add testcase for it.
2007-03-07clean up accumulated whitespace damageDenis Vlasenko
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2007-01-30silly space saving in sedDenis Vlasenko
2007-01-30micro optimizationDenis Vlasenko
2007-01-29preparatory patch for -Wwrite-strings #7: sedDenis Vlasenko
remaining: shell (rather scary mess in msh.c)
2007-01-29preparatory patch for -Wwrite-strings #2Denis Vlasenko
2007-01-29add to testsuite and fix yet another sed corner caseDenis Vlasenko
2007-01-29disable -Wold-style-definition for gcc 3.xDenis Vlasenko
2007-01-29sed: fix 2 bugs (one testsuite entry + one newly found)Denis Vlasenko
but more importantly make code more understandable
2007-01-28fix all known regressions with sed and also make it simplerDenis Vlasenko
2007-01-19strdup -> xstrdupDenis Vlasenko
sed: de-obfuscate piece of code
2007-01-17sed,get_line_from_file: improve commentsDenis Vlasenko
2006-12-26merge post-1.3.0 fixesDenis Vlasenko
2006-12-19remove casts from xmalloc()Denis Vlasenko
2006-12-16inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Denis Vlasenko
2006-12-10bb_makedev: fix for glibc 2.3.2Denis Vlasenko
sed: fix C++ style declaration
2006-12-10sed: style fixesDenis Vlasenko
2006-12-02sed: fix handling of files not ending in '\n'Denis Vlasenko
2006-12-02sed: improve handling of NULsDenis Vlasenko
2006-10-27last nail into error_msg() (de)capitalizationDenis Vlasenko
2006-10-26rename functions to more understandable namesDenis Vlasenko
2006-10-25sed: mostly style fixes, very small changes in actual codeDenis Vlasenko
2006-10-25use skip_whitespace where appropriateDenis Vlasenko
2006-10-12bb_get_[chomped]line_from_file wasn't descriptive enough.Denis Vlasenko
Renaming...
2006-10-03getopt_ulflags -> getopt32.Denis Vlasenko
It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
2006-10-03rename bb_default_error_retval -> xfunc_error_retvalDenis Vlasenko
2006-10-03lots of silly indent fixesDenis Vlasenko
2006-10-01sed: -e options were handled in reverse order. fix that.Denis Vlasenko
2006-10-01sed: unbreak multiple -e, -f option handling (my fault)Denis Vlasenko
2006-09-22sed: getopt_ulflags'isationDenis Vlasenko
2006-09-22Change license statements (and clean up headers) on some of the files thatRob Landley
Erik or I are primary copyright holders on.
2006-09-17whitespace cleanupDenis Vlasenko
2006-09-08Bugfix for: echo '123456789' | sed 's/./|&/5'Rob Landley
2006-09-06removed a lot of trailing \n in bb_msg() calls. It is addedDenis Vlasenko
automatically by function itself.