Lines Matching refs:to
5 Permission to use, copy, modify, and distribute this software and
12 to distribution of the software without specific, written prior
15 LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
26 was sent to the printers in August, 1987.
29 minor fix in lib.c: increase inputFS to 100, change malloc
30 for fields to n+1.
34 thanks to david o'brien, freebsd, for both fixes.
37 fiddle in makefile to fix for BSD make; thanks to igor sobrado.
43 fixed a bug in matching the null RE in sub and gsub. thanks to al aho
44 who actually did the fix (in b.c), and to wolfgang seeberg for finding
47 fixed quotation in b.c; thanks to Hal Pratt and the Princeton Dante
52 fiddled maketab.c to not complain about bison-generated values.
54 removed the obsolete -V argument; fixed --version to print the
57 fixed wording and an outright error in the usage message; thanks to igor
77 removed some #ifdef's in run.c and lex.c that appear to no
82 block, apparently as required by posix. thanks to havard eidnes
87 thanks to arnold robbins for a suggestion that started me
92 call of SYNTAX(), test malloc return in lib.c, all with thanks to
97 smaller size, and i think that's right. added some assertions to b.c
98 to catch places where it might overrun. the RE code is still fragile.
102 e.g., print $(2^32-1). thanks to ruslan ermilov, giorgos keramidas
108 to (re-)initialize. thanks to steve fisher for spotting this and
114 was longer than the number of states triggered a failure to initialize
115 the machine properly. many thanks to moinak ghosh for not only finding
117 code known to man.
119 fixed a storage leak in call() that appears to have been there since
121 string to a parameter leaked a Cell. thanks to moinak ghosh for
125 fixed, thanks to andrey chernov and ruslan ermilov, a bug in lex.c
127 to EOF with a signed comparison.)
131 line state ^ for RE's in the set of valid characters; this led to a
132 variety of odd problems, including failure to properly match certain
133 regular expressions in non-US locales. thanks to ruslan for keeping
137 n-th try at getting internationalization right, with thanks to volker
139 should not be blamed for the outcome. according to posix, "." is the
142 of numbers. so it's intended to work that way.
144 i have rescinded the attempt to use strcoll in expanding shorthands in
148 but i cannot explain it to a human user. (this behavior can be seen
151 the issue appears to be that strcoll is meant for sorting, where
154 for regular expressions, where the goal is to match specific
156 are available in awk, and they are more likely to work correctly in
160 i apologize to friends and colleagues in other parts of the world.
161 i would truly like to get this "right", but i don't know what
162 that is, and i do not want to keep making changes until it's clear.
168 subtle change to split: if source is empty, number of elems
172 added some parens to isblank, in another attempt to make things
194 better, this will have to wait.
197 modified b.c (with tiny changes in main and run) to support
199 classes. thanks to ruslan ermilov (ru@freebsd.org) for code.
200 the function isblank doesn't seem to have propagated to any
205 modified run/format() and tran/getsval() to do a slightly better
210 variable has been irrevocably set. thanks to arnold robbins for
213 fixed subtle bug in format that could get core dump. thanks to
217 added some tests for null pointers to debugging printf's, which
218 were never intended for external consumption. thanks to dave
221 GNU compatibility: an empty regexp matches anything (thanks to
222 dag-erling smorgrav, des@ofug.org). subject to reversion if
225 pervasive small changes to make things more const-correct, as
230 minor documentation changes to note that this now compiles out
234 changed types in posix chars structure to quiet solaris cc.
239 length(arrayname) returns number of elements; thanks to
242 added a makefile.win to make it easier to build on windows.
248 portable. thanks to dag-erling smorgrav for code.
252 broken (noted thanks to volker kiefel).
263 more (const char *) casts in b.c and tran.c to silence warnings.
267 like $f[1] to be syntax errors. thanks to arnold robbins for
271 fixed some nextfile bugs: not handling all cases. thanks to
281 processing of \'s. thanks to arnold robbins.
284 minor fiddles in tran.c to keep compilers happy about uschar.
285 thanks to norman wilson.
289 band-aid in b.c (member()), and some (uschar) casts to head
291 changed HAT to NCHARS-2. thanks again to santiago vila.
293 changed maketab.c to ignore apparently out of range definitions
294 instead of halting; new freeBSD generates one. thanks to
299 unsigned char*'s. not clear i have them all yet. thanks to
304 been there since functions were added ~1983. thanks to
307 added test in envinit to catch environment "variables" with
308 names beginning with '='; thanks to Berend Hasselman.
311 added test in defn() to catch function foo(foo), which
312 otherwise recurses until core dump. thanks to arnold
316 added *bp in gettok in lex.c; appears possible to exit function
317 without terminating the string. thanks to russ cox.
320 added function stdinit() to run to initialize files[] array,
325 based on vprintf, to avoid problems caused by overrunning
326 fixed-size errbuf array. thanks to ralph corderoy for the
332 variable with value ending in \. (thanks to nelson beebe for
341 changed true/false to True/False in run.c to make it
342 easier to compile with C++. Added some casts on malloc
343 and realloc to be honest about casts; ditto. changed
344 ltype int to long in struct rrow to reduce some 64-bit
346 same purpose. thanks to Nelson Beebe for these portability
350 by adding ptoi and itonp to localize the casts, which are
356 (thanks to Nelson Beebe for both of these.)
360 error; use a newer version or switch to bison, since sgi
361 is unlikely to fix it.
364 changed isnumber to is_number to avoid the problem caused by
368 thanks to Dan Allen.
372 thanks to Stephen Nutt for finding these and providing the fixes.
377 thanks to Dan Allen.
379 added a few (int) casts to silence useless compiler warnings.
382 added proctab.c to the bundle outout; one less thing
383 to have to compile out of the box.
385 added calls to _popen and _pclose to the win95 stub for
386 pipes (thanks to Steve Adams for this helpful suggestion).
387 seems to work, though properties are not well understood
392 fixed a couple of bugs in getrec: could fail to update $0
399 thanks to ross ridge for finding these, and for providing
403 fixed potential bug in readrec: might fail to update record
404 pointer after growing. thanks to dan levy for spotting this
408 added -V to print version number and die.
419 thanks to nelson beebe for pointing this one out.
425 thanks to arnold robbins for advice here.
434 now using strtod to test whether a string is a number, instead of
438 removed now-pointless optimization in makefile that tries to avoid
447 demand. there is still some tension between trying to make this
456 using code provided by dan levy (to whom profuse thanks), replaced
458 to grow arrays as needed for printf, sub, gsub, etc.
462 thanks to arnold robbins.
466 in run.c; added overflow tests to some previously unchecked cases.
472 increased RECSIZE to 8192 to push problems further over the horizon.
474 added \r to \n as input line separator for programs, not data.
477 modified format() to permit explicit printf("%c", 0) to include
478 a null byte in output. thanks to ken stailey for the fix.
482 access to the environment (ENVIRON). this is a first approximation
483 to a "safe" version of awk, but don't rely on it too much. thanks
484 to joan feigenbaum and matt blaze for the inspiration long ago.
487 fixed long-standing bug in sub, gsub(/a/, "\\\\&"); thanks to
495 changed field-splitting to conform to posix definition: fields are
496 split using the value of FS at the time of input; it used to be
497 the value when the field or NF was first referred to, a much less
498 predictable definition. thanks to arnold robbins for encouragement
499 to do the right thing.
505 explicit hex in reg exprs now limited to 2 chars: \xa, \xaa.
514 s/aprintf/awkprint, s/asprintf/awksprintf/ to avoid some name clashes
517 thanks to jeffrey friedl for several of these.
520 an attempt to rationalize the (unsigned) char issue. almost all
523 added some latin-1 tests to the regression, but i'm not confident;
524 none of my compilers seem to care much. thanks to nelson beebe for
535 added nextfile, as in gawk: causes immediate advance to next
536 input file. (thanks to arnold robbins for inspiration and code).
538 small fixes to regexpr code: can now handle []], [[], and
541 or correct, however. (thanks to jeffrey friedl for pointing out
548 fixed call to time in run.c (bltin); arg is time_t *.
552 (thanks to nelson beebe for pointing out some of these problems.)
562 portability to nameless systems.
569 were not set. (thanks to purify, all of whose complaints i
579 to avoid unnecessary yacc invocations.
582 added dynamically growing strings to awk.lx.l and b.c
583 to permit regular expressions to be much bigger.
590 trivial fix to printf to limit string size in sub().
596 Regression tests now use private echo, to avoid quoting problems.
599 changed error() to print line number as %d, not %g.
608 to be opened.
616 these really ought to adjust automatically.
622 things will continue to run slow, but maybe a bit longer.
633 added (file/pipe) builtin. hard to test satisfactorily.
640 die-casting time: converted to ansi C, installed that.
643 fixed storage leak in freefa, failing to recover [N]CCL.
644 thanks to Bill Jones (jones@cs.usask.ca)
651 overflow in penter. thanks to mark larsen.
654 increased buffer in gsub. a very crude fix to a general problem.
658 enforce variable name syntax for commandline variables: has to
684 changed for (i in array) to access elements in sorted order.
689 check error status on all writes, to avoid banging on full disks.
695 failed to set numeric state on $0 in cmd|getline context in run.c.
714 changed NCHARS to 256 to handle 8-bit characters in strings
715 presented to match(), etc.
718 changed struct rrow (awk.h) to use long instead of int for lval,
725 now has to be parenthesized as !(x=y), and makes others work properly:
729 Added \x to regular expressions (already in strings).
730 Limited octal to octal digits; \8 and \9 are not octal.
732 Added a bunch of tests to T.re and T.sub to verify some of this.
740 srand now returns previous seed value (0 to start).
747 another try to get the max number of open files set with
750 small fix to input() in case of multiple reads after EOF.
758 added a bunch of casts to the code to tell the truth about
760 setlocale call to the front of main, though probably no one
768 fixed bug: commandline variable assignment has to look like
771 changed number of arguments to functions to static arrays
772 to avoid repeated malloc calls.
779 done before the BEGIN block for sure. they have to precede the
781 Modified Aug 2 to require a separate -v for each assignment.
787 add newline to usage message.
797 (this should be done by pow() but it seems not to be locally.)
798 done to x ^= y as well.
809 fixed order of evaluation of commandline assignments to match
812 this invalidates the suggested answer to ex 4-1 (p 195).
825 Changed grammar to prohibit constants as 3rd arg of sub and gsub;
832 will be able to deal with \x correctly.
835 Fixed bug that caused tempcell list to contain a duplicate.
842 that seems to satisfy all compilers.
845 Added a bit of code to error printing to avoid printing nulls.
849 With fear and trembling, modified the grammar to permit
852 to the ghost of ancient implementations remains undefined
853 and thus subject to change without notice or apology.
857 Fixed bug in call() that failed to recover storage.
873 Fixed to handle deletion of non-existent array right;
874 complains about attempt to delete non-array element.
877 Now guarantees to evaluate all arguments of built-in
893 still subject to rescinding, however.
901 to make it less obvious.
914 Fixed lib.c to permit _ in commandline variable names.
917 main.c fixed to recognize -- as terminator of command-
922 Newer C compilers apply a strict scope rule to extern
924 lib.c and tran.c have been moved to obviate this problem.
928 Subject to rescinding without notice.
937 fixed aprintf, asprintf, format to catch them.