summaryrefslogtreecommitdiff
path: root/vms
Commit message (Collapse)AuthorAgeFilesLines
* maint: update all FSF copyright year lists to include 2010Jim Meyering2010-01-013-6/+3
| | | | | | Use this command: git ls-files |grep -vE '^(\..*|COPYING|gnulib)$' |xargs \ env UPDATE_COPYRIGHT_USE_INTERVALS=1 build-aux/update-copyright
* maint: enable trailing_blank checkJim Meyering2009-11-302-4/+4
| | | | | | | | | | | | | | | | | | | * cfg.mk (local-checks-to-skip): Enable sc_trailing_blank. * AUTHORS: Remove trailing blanks. * COPYING: Likewise. * README: Likewise. * README-alpha: Likewise. * README-boot: Likewise. * THANKS: Likewise. * TODO: Likewise. * src/dfa.c: Likewise. * src/mbsupport.h: Likewise. * tests/backref.sh: Likewise. * tests/file.sh: Likewise. * tests/options.sh: Likewise. * tests/tests: Likewise. * vms/README: Likewise. * vms/make.com: Likewise.
* remove useless AUTOMAKE_OPTIONSPaolo Bonzini2009-11-201-2/+0
| | | | | | * doc/Makefile.am: Remove AUTOMAKE_OPTIONS. * lib/posix/Makefile.am: Remove AUTOMAKE_OPTIONS. * vms/Makefile.am: Remove AUTOMAKE_OPTIONS.
* move .cvsignore files to .gitignorePaolo Bonzini2009-11-201-2/+0
|
* update/add copyright noticesKarl Berry2009-01-303-0/+40
|
* New option back-references are local, beefup manual.Alain Magloire2001-02-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/grep.texi : Document the new options and the new behaviour back-references are local. Use excerpt from Karl Berry regex texinfo. * bootstrap/Makefile.try : Added xstrtoumax.o xstrtoul.o hard-local.o From Guglielmo 'bond' Bondioni : The bug was that using a multi line file that contained REs (one per line), backreferences in the REs were considered global (to the file) and not local (to the line). That is, \1 in line n refers to the first \(.\) in the whole file, rather than in the line itself. From Tapani Tarvainen : # Re: grep -e '\(a\)\1' -e '\(b\)\1' That's not the way it should work: multiple -e arguments should be treated as independent patterns and back references should not refer to previous ones. From Paul Eggert : GNU grep currently does not issue diagnostics for the following two cases, both of which are erroneous: grep -e '[' -e ']' grep '[ ]' POSIX requires a diagnostic in both cases because '[' is not a valid regular expression. To overcome those problems, grep no longer pass the concatenate patterns to GNU regex but rather compile each patterns separately and keep the result in an array. * src/search.c (patterns) : New global variable; a structure array holding the compiled patterns. Declare function prototypes to minimize error. (dfa, kswset, regexbuf, regs) : Removed, no longer static globals, but rather fields in patterns[] structure per motif. (Fcompile) : Alloc an entry in patterns[] to hold the regex. (Ecompile) : Alloc an entry per motif in the patterns[] array. (Gcompile) : Likewise. (EGexecute) : Loop through of array of patterns[] for a match. From Bernd Strieder : # tail -f logfile | grep important | do_something_urgent # tail -f logfile | grep important | do_something_taking_very_long If grep does full buffering in these cases then the urgent operation does not happen as it should in the first case, and in the second case time is lost due to waiting for the buffer to be filled. This is clearly spoken not grep's fault in the first place, but libc's. There is a heuristic in libc that make a stream line-buffered only if a terminal is on the other end. This doesn't take care of the cases where this connection is somehow indirect. * src/grep.c (line_buffered) : new option variable. (prline) : if line_buffered is set fflush() is call. (usage) : line_buffered new option. Input from Paul Eggert, doing setvbuf() may not be portable and breaks grep -z. This patch prevent kwset_matcher from following problems. For example, in SJIS encoding, one character has the codepoint 0x895c. So the second byte of the character can match with '\' incorrectly. And in eucJP encoding, there are the characters whose codepoints are 0xa5b9, 0xa5c8. On the other hand, there is one character whose codepoint is 0xb9a5. So 0xb9a5 can match with 2nd byte of 0xa5b9 and 1st byte of 0xa5c8. (EGexecute) : call check_multibyte_string when kwset is set. (Fexecute) : call to check_multibyte_string. (MB_CUR_MAX) : new macro.
* config_vms.hAlain Magloire2000-02-021-0/+39
| | | | new file
* ChangeLog vms/Makefile.amAlain Magloire2000-02-021-1/+1
| | | | | | added config_vms.h * vms/Makefile.am: added config_vms.h to EXTRA_DIST.
* ChangeLog configure.in doc/grep.1 doc/grep.texi src/dfa.cAlain Magloire2000-02-021-17/+52
| | | | | | | | | | | | | | | | src/getpagesize.h src/grep.c src/kwset.c src/search.c src/system.h src/vms_fab.c src/vms_fab.h vms/make.com more support for VMS. * doc/grep.1: corrected typo. Noted by Ruslan Ermilob. * vms/config_vms.h: New File, contains macros specific to VMS and avoid namespace collision with operating system supplied C library. * vms/make.com: Updated. * src/getpagesize.h: New macros for VMS. * src/vms_fab.c: Cast to some assigments. * src/vms_fab.h: Added new include files. Those patches were provided by zinser@decus.de (Martin).
* updateAlain Magloire1999-03-191-1/+1
| | | | | say 2.3.1. say 2.3.1.
* updates.Alain Magloire1999-02-031-1/+1
| | | | | | | | | | | | | | minor changes to the name of the macros move #include dosbuf.c further down update to 2.3 * grep-2.2f beta release. * m4/{djgpp,envsep,glibc,regex,dosfile,isc-posix}.m4 : New files to aid configuration and unload configure.in. * m4/Makefile.am : updated. Patch forwarded by Ben Elliston.
* update.Alain Magloire1998-12-021-2/+0
| | | | | | | | | | | | | | | | | update. update. update. * doc/Makefile.am djgpp/Makefile.am m4/Makefile.am vms/Makefile.am: New files. * m4/progtest.m4: proctect '[]' from m4. Noted by Eli Z. * PATCHES-AC: New file, add the patch for autoconf in the dist. * acconfig.h: (HAVE_DOS_FILENAME) * TODO: updated. * src/search.c: remove obsolete 'gegrep,ggrep,gnugrep' matchers. grep no longer depend on argv[0]. * grep-2.2e beta to test DJGPP port.
* supply the patch to autoconf in the distribution.Alain Magloire1998-12-021-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | let have djgpp directory be more dependent let m4 have Makefile.am let vms have Makefile.am * src/grep.c : Typo s/infalid/invalid/ Also noted by Stanislav Brabec. * doc/grep.texi: I found and corrected several typos. I believe the GNU standards require the section that describes the options to the programs to be called ``Invoking'' or ``Invoking <program-name>''. This is so users and programs can easily find that node in any Info file. So I changed the name of the `Options' chapter to `Invoking', and corrected the cross-references accordingly. I added some markup to things like file names and options. I added some additional index entries where that seemed useful. I also corrected some index entries, such as "@cindex [:alnum:]", which used a colon in them (the colons confuse Info readers). * grep/doc/grep.texi : -h is not use for help. Nit spotted by Jim Meyering. * grep-2.2d release for beta.
* update versionAlain Magloire1998-11-191-1/+1
|
* update for the new *mat.c files.Alain Magloire1998-11-171-1/+1
|
* support for VMS from Phillip BriscoAlain Magloire1998-11-101-3/+15
| | | | | | | | | * src/vms_fab.{c,h}: New file for VMS wildcard expansion Written by Phillip C. Brisco. * vms/make.com : add line to compile vms_fab.c and {e,f,}grepmat.c with link for each grep/fgrep/egrep. Base on patch send by Phillib C. Brisco. * grep-2.2c on alpha for testing.
* Initial revisionAlain Magloire1998-11-032-0/+40