summaryrefslogtreecommitdiff
path: root/editors/awk.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* whitespace fixes (leading spaces to tab)Denis Vlasenko2007-01-131-1/+1
|
* Trailing whitespace removal over entire treeDenis Vlasenko2007-01-111-2/+2
|
* awk: style fixesDenis Vlasenko2007-01-011-27/+23
|
* awk: undo locale setting for numbers - or else parsingDenis Vlasenko2007-01-011-0/+5
| | | | | can act quite mysteriously date: add if(ENABLE_LOCALE_SUPPORT)
* awk: style cleanup. A lot of rw data moved to roDenis Vlasenko2007-01-011-294/+293
| | | | | (still has quite a lot of statics etc...). getopt32-ification.
* style fixesDenis Vlasenko2006-12-261-12/+11
| | | | last xcalloc replaced by xzalloc
* remove useless casts (type*) xzalloc(...)Denis Vlasenko2006-12-221-7/+6
|
* remove casts from xmalloc()Denis Vlasenko2006-12-191-3/+3
|
* Add option to disable command execution from vi & awkDenis Vlasenko2006-12-191-1/+2
|
* Fix largefile breakage; advance version to 1.2.2Denis Vlasenko2006-10-271-2/+1
|
* use skip_whitespace where appropriateDenis Vlasenko2006-10-251-1/+1
|
* message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko2006-10-201-1/+1
|
* awk: && -> & in "n->info && OPCLSMASK" - fixes bug 1067Denis Vlasenko2006-10-071-1/+1
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-2/+2
| | | | | | | | 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.
* lots of silly indent fixesDenis Vlasenko2006-10-031-2/+2
|
* several fixes from openWRT projectDenis Vlasenko2006-09-261-1/+30
|
* awk: getopt_ulflags'isationDenis Vlasenko2006-09-221-37/+27
|
* removed a lot of trailing \n in bb_msg() calls. It is addedDenis Vlasenko2006-09-061-1/+1
| | | | | automatically by function itself.
* Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damageRob Landley2006-08-291-1/+1
| | | | | (the e2fsprogs directory is too twisty and evil to easily fix, but I plan to rewrite it anyway so I'll just bump that up in priority a bit).
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-24/+14
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* Remove all usage of the "register" storage class specifier."Robert P. J. Day"2006-07-011-8/+8
|
* Minor cleanups: Convert a few calloc() calls to xzalloc, remove unnecessaryRob Landley2006-05-211-8/+8
| | | | memset, collate variable declarations...
* - include strings.hBernhard Reutner-Fischer2006-05-191-0/+1
| | | | Thanks to Rich Felker for pointing this out.
* Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytesRob Landley2006-05-071-14/+14
| | | | | as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code.
* touchup commentMike Frysinger2006-04-161-1/+1
|
* Patch from Denis Vlasenko turning static const int (which gets emitted intoRob Landley2006-03-101-1/+1
| | | | the busybox binary) into enums (which don't).
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* Patch from awk maintainer (Dmitry Zakhrov) to fix bugs 642, 663, and 667.Rob Landley2006-02-141-5/+13
|
* - add platform.h.Bernhard Reutner-Fischer2006-01-221-16/+3
| | | | - use shorter boilerplate while at it.
* Bug 112, return value of awk should be /256. In reality, we should probablyRob Landley2006-01-091-1/+1
| | | | | | be using WEXITSTATUS(), but until I can figure out why the heck that would want to do (*(int *) &(status)) on the value, I'm happy just fixing the bug we actually see.
* more const, attribute_noreturn saved 200 bytes"Vladimir N. Oleynik"2005-10-191-24/+26
|
* - consume space between functionname and opening bracketsBernhard Reutner-Fischer2005-10-171-1/+2
| | | | Fixes Rob's issue using busybox awk for building gcc-4_0 optionlist (http://busybox.net/lists/busybox/2005-October/016659.html)
* as pointed out in Bug 17, use uint32_t instead of unsigned long since the ↵Mike Frysinger2005-09-271-20/+20
| | | | code expects the size of the info variables to be 32bits and sizeof(long) on 64bit hosts is not 32bits
* eat misappropriated whitespaceMike Frysinger2005-09-271-66/+66
|
* uncuddle function scope bracketsMike Frysinger2005-09-271-116/+116
|
* split libbb: moved xregcomp separatelly for speed up recompile"Vladimir N. Oleynik"2005-09-141-1/+1
|
* removed strange extern void xregcomp(... from some applets, but declared ↵"Vladimir N. Oleynik"2005-09-141-1/+0
| | | | from libbb.h
* Patch from Dmitry Zakharov:Rob Landley2005-06-071-2/+1
| | | | | | | | | | | | | | | Charlie Brady wrote: > Here's another awk parsing problem - unary post increment - pre is fine: > >bash-2.05a$ echo 2,3 | gawk -F , '{ $2++ }' >bash-2.05a$ echo 2,3 | /tmp/busybox/busybox awk -F , '{ $2++ }' >awk: cmd. line:1: Unexpected token > Here's a fix for this. There is another problem with constructions like "print (A+B) ++C", I don't know whether somebody uses such constructions (fixing both these problems would require very serious change in awk code).
* Patch from Dmitry Zakharov to fix a bug triggered by freeswan's scripts.Glenn L McGrath2004-09-241-1/+2
|
* Simon Poole reports that awk segfaults when environment variablesEric Andersen2004-07-301-0/+4
| | | | | | | | | | | with no value exist, i.e. $ export BOB='' % ./busybox awk Segmentation fault This patch teaches awk to not blow chunks on empty env variables. -Erik
* Patch from Dmitry Zakharov to fix a bug discovered via the freeswapGlenn L McGrath2004-07-231-0/+1
| | | | script.
* Larry Doolittle writes:Eric Andersen2004-04-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-7/+7
|
* Patch from Dmitry Zakharov, this line was missedfrom the last patchGlenn L McGrath2004-02-221-0/+1
|
* Patch from Dmitry Zakharov,Glenn L McGrath2003-10-301-12/+28
| | | | | | | Fixes two bugs: - END block didn't execute after an exit() call - huge memory consumption and performance degradation on large input (now performance is comparable to gawk)
* Major coreutils update.Manuel Novoa III2003-03-191-33/+33
|
* Change if(x)free(x); to free(x);Aaron Lehmann2002-11-281-5/+4
|
* Use erorr_msg( isntead of fprintf(stderr,Glenn L McGrath2002-11-281-4/+4
|
* Move awk from textutils to editors. Cleanup run-parts, saves 200 bytes, ↵Glenn L McGrath2002-11-111-0/+2742
moves the guts of run_parts to libbb to be used by ifupdown.