add new | syntax.

syntax will change.
This commit is contained in:
rsc 2005-01-04 22:41:27 +00:00
parent 02f38ca68c
commit 9aa1c92f74
19 changed files with 281 additions and 83 deletions

View file

@ -11,10 +11,8 @@ void atouch(char*);
void bufcpy(Bufblock *, char *, int);
Envy *buildenv(Job*, int);
void catchnotes(void);
char *charin(char *, char *);
int chgtime(char*);
void clrmade(Node*);
char *copyq(char*, Rune, Bufblock*);
void delete(char*);
void delword(Word*);
int dorecipe(Node*);
@ -24,24 +22,23 @@ void dumpn(char*, Node*);
void dumpr(char*, Rule*);
void dumpv(char*);
void dumpw(char*, Word*);
int escapetoken(Biobuf*, Bufblock*, int, int);
void execinit(void);
int execsh(char*, char*, Bufblock*, Envy*);
int execsh(char*, char*, Bufblock*, Envy*, Shell*, Word*);
void Exit(void);
char *expandquote(char*, Rune, Bufblock*);
void expunge(int, char*);
void freebuf(Bufblock*);
void front(char*);
Node *graph(char*);
void growbuf(Bufblock *);
void initenv(void);
void initshell(void);
void insert(Bufblock *, int);
void ipop(void);
void ipush(void);
void killchildren(char*);
void *Malloc(int);
char *maketmp(int*);
int match(char*, char*, char*);
int match(char*, char*, char*, Shell*);
char *membername(char*, int, char*);
void mk(char*);
ulong mkmtime(char*);
@ -56,17 +53,21 @@ void nproc(void);
void nrep(void);
int outofdate(Node*, Arc*, int);
void parse(char*, int, int);
int pipecmd(char*, Envy*, int*);
int pipecmd(char*, Envy*, int*, Shell*, Word*);
void popshell(void);
void prusage(void);
void pushshell(void);
void rcopy(char**, Resub*, int);
void readenv(void);
void *Realloc(void*, int);
void rinsert(Bufblock *, Rune);
char *rulecnt(void);
void run(Job*);
char *setshell(Word*);
void setvar(char*, void*);
int shargv(Word*, int, char***);
char *shname(char*);
void shprint(char*, Envy*, Bufblock*);
void shprint(char*, Envy*, Bufblock*, Shell*);
Word *stow(char*);
void subst(char*, char*, char*);
void symdel(char*, int);