|
|
1.1 ! root 1: /* ! 2: * A stream editor. ! 3: */ ! 4: #include <stdio.h> ! 5: #include "sed.h" ! 6: ! 7: FILE *ifp; /* Input file pointer */ ! 8: BRC brcl[1+NBRC]; /* For remembering \( \) */ ! 9: COM *comp; /* Pointer to command list */ ! 10: COM **compp; /* Ptr to add next element */ ! 11: ECL *eclp; /* Argument list pointer */ ! 12: FIL *filp; /* Pointer to file list */ ! 13: LAB *labp; /* Label list */ ! 14: QCL *qcbp; /* For stacking braces */ ! 15: int pattlen; /* Length of pattern */ ! 16: int holdlen; /* Length of hold buffer */ ! 17: int dolflag; /* Last line in file */ ! 18: int addnone; /* Number was not found */ ! 19: int nflag; /* Don't copy to output */ ! 20: int sflag; /* Case insensitive */ ! 21: int nerr; /* Number of errors */ ! 22: int lno; /* Current line number */ ! 23: char linebuf[LHPSIZE]; /* Line buffer */ ! 24: char holdbuf[LHPSIZE]; /* Hold buffer */ ! 25: char pattbuf[LHPSIZE]; /* Pattern buffer */ ! 26: char *ncp; /* Pointer in input */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.