File:  [MW Coherent from dump] / coherent / d / bin / sed / sed0.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:39 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

/*
 * A stream editor.
 */
#include <stdio.h>
#include "sed.h"

FILE	*ifp;				/* Input file pointer */
BRC	brcl[1+NBRC];			/* For remembering \( \) */
COM	*comp;				/* Pointer to command list */
COM	**compp;			/* Ptr to add next element */
ECL	*eclp;				/* Argument list pointer */
FIL	*filp;				/* Pointer to file list */
LAB	*labp;				/* Label list */
QCL	*qcbp;				/* For stacking braces */
int	pattlen;			/* Length of pattern */
int	holdlen;			/* Length of hold buffer */
int	dolflag;			/* Last line in file */
int	addnone;			/* Number was not found */
int	nflag;				/* Don't copy to output */
int	sflag;				/* Case insensitive */
int	nerr;				/* Number of errors */
int	lno;				/* Current line number */
char	linebuf[LHPSIZE];		/* Line buffer */
char	holdbuf[LHPSIZE];		/* Hold buffer */
char	pattbuf[LHPSIZE];		/* Pattern buffer */
char	*ncp;				/* Pointer in input */

unix.superglobalmegacorp.com

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