Lines Matching defs:err
43 err = sys.stderr.write
44 dbg = err
49 err('Usage: ' + progname +
51 err('\n')
52 err('-c : substitute inside comments\n')
53 err('-r : reverse direction for following -s options\n')
54 err('-s substfile : add a file of substitutions\n')
55 err('\n')
56 err('Each non-empty non-comment line in a substitution file must\n')
57 err('contain exactly two words: an identifier and its replacement.\n')
58 err('Comments start with a # character and end at end of line.\n')
59 err('If an identifier is preceded with a *, it is not substituted\n')
60 err('inside a comment even when -c is specified.\n')
66 err('Options error: ' + str(msg) + '\n')
84 err(arg + ': will not process symbolic links\n')
101 err(dirname + ': cannot list directory: ' + str(msg) + '\n')
128 err(filename + ': cannot open: ' + str(msg) + '\n')
153 err(tempname+': cannot create: '+
180 err(tempname + ': warning: chmod failed (' + str(msg) + ')\n')
185 err(filename + ': warning: backup failed (' + str(msg) + ')\n')
190 err(filename + ': rename failed (' + str(msg) + ')\n')
282 err(substfile + ': cannot read substfile: ' + str(msg) + '\n')
299 err(substfile + '%s:%r: warning: bad line: %r' % (substfile, lineno, line))
311 err('%s:%r: warning: overriding: %r %r\n' % (substfile, lineno, key, value))
312 err('%s:%r: warning: previous: %r\n' % (substfile, lineno, Dict[key]))