Lines Matching refs:s
76 const char *s; in shtree() local
84 s = "; "; in shtree()
87 s = " && "; in shtree()
90 s = " || "; in shtree()
94 fputs(s, fp); in shtree()
128 const char *s; in shcmd() local
142 case NTO: s = ">"; dftfd = 1; break; in shcmd()
143 case NCLOBBER: s = ">|"; dftfd = 1; break; in shcmd()
144 case NAPPEND: s = ">>"; dftfd = 1; break; in shcmd()
145 case NTOFD: s = ">&"; dftfd = 1; break; in shcmd()
146 case NFROM: s = "<"; dftfd = 0; break; in shcmd()
147 case NFROMFD: s = "<&"; dftfd = 0; break; in shcmd()
148 case NFROMTO: s = "<>"; dftfd = 0; break; in shcmd()
149 default: s = "*error*"; dftfd = 0; break; in shcmd()
153 fputs(s, fp); in shcmd()
309 trputs(const char *s) in trputs() argument
313 fputs(s, tracefile); in trputs()
318 trstring(char *s) in trstring() argument
326 for (p = s ; *p ; p++) { in trstring()
379 char s[100]; in opentrace() local
399 scopy(p, s); in opentrace()
400 strcat(s, "/trace"); in opentrace()
403 scopy("./trace", s); in opentrace()
406 if (!freopen(s, "a", tracefile)) { in opentrace()
407 fprintf(stderr, "Can't re-open %s\n", s); in opentrace()
412 if ((tracefile = fopen(s, "a")) == NULL) { in opentrace()
413 fprintf(stderr, "Can't open %s\n", s); in opentrace()