Annotation of researchv10no/cmd/gre/gre.prop, revision 1.1.1.1

1.1       root        1:        Al Aho and I are designing a replacement for grep, egrep and fgrep.
                      2: The question is what flags should it support and what kind of patterns
                      3: should it handle? (Assume the existence of flags to make it compatible
                      4: with grep, egrep and fgrep.)
                      5:        The proposed flags are the V9 flags:
                      6: -f file        pattern is (`cat file`)
                      7: -v     print nonmatching
                      8: -i     ignore aphabetic case
                      9: -n     print line number
                     10: -x     the pattern used is ^pattern$
                     11: -c     print count only
                     12: -l     print filenames only
                     13: -b     print byte offset of line begin
                     14: -h     do not print filenames in front of matching lines
                     15: -H     always print filenames in front of matching lines
                     16: -w     pattern is <whitespace>pattern<whitespace>
                     17: -s     no output; just status
                     18: -e expr        use expr as the pattern
                     19: 
                     20: The patterns are as for egrep, supplemented by back-referencing
                     21: as in \{pattern\}\1.
                     22: 
                     23: please send your comments about flags or patterns to research!andrew

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.