Lines Matching refs:fmt
24 "[-?\n@(#)$Id: fmt (AT&T Research) 2007-01-02 $\n]"
26 "[+NAME?fmt - simple text formatter]"
35 "command \b:!}fmt\b will justify the lines in the current paragraph.]"
569 Fmt_t fmt;
572 fmt.flags = 0;
573 fmt.out = sfstdout;
574 fmt.outbuf = outbuf;
575 fmt.outp = 0;
576 fmt.endbuf = &outbuf[72];
577 fmt.indent = 0;
578 fmt.nextdent = 0;
579 fmt.nwords = 0;
580 fmt.prefix = 0;
581 fmt.quote = 0;
582 fmt.retain = 0;
583 fmt.section = 1;
592 setoption(&fmt, n);
597 fmt.endbuf = &outbuf[opt_info.num];
609 if (isoption(&fmt, 'o'))
610 setoption(&fmt, 'c');
611 if (isoption(&fmt, 's'))
612 clroption(&fmt, 'u');
617 fmt.in = sfstdin;
618 else if (!(fmt.in = sfopen(NiL, cp, "r")))
624 dofmt(&fmt);
625 if (fmt.in != sfstdin)
626 sfclose(fmt.in);
628 outline(&fmt);