AT&T UNIX™PC Unix System V Users Manual - tenox
AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox
NEWFORM ( l ) -ck -pn -an NEWFORM ( l ) Change the prefix/append character to /c. Default character for /cis a space. Prefix n characters (see -c/c) to the beginning of a line when the line length is less than the effective line length. Default is to prefix the number of characters necessary to obtain the effective line length. Same as -pn except characters are appended to the end of a line. -f Write the tab specification format line on the standard output before any other lines are output. The tab specification format line which is printed will correspond to the format specified in the last -o option. If no - o option is specified, the line which is printed will contain the default specification of -8. -s Shears off leading characters on each line up to the first tab and places up to 8 of the sheared characters at the end of the line. If more than 8 characters (not counting the first tab) are sheared, the eighth character is replaced by a • and any characters to the right of it are discarded. The first tab is always discarded. An error message and program exit will occur if this option is used on a file without a tab on each line. The characters sheared off are saved internally until all other options specified are applied to that line. The � characters are then added at the end of the processed l - line. For example, to convert a file with leading digits, one or more tabs, and text on each line, to a file beginning with the text, all tabs after the first expanded to spaces, padded with spaces out to column 72 (or truncated to column 72), and the leading digits placed starting at column 73, the command would be: newform -s -i -1 -a -e file-name DIAGNOSTICS All diagnostics are fatal. usage: . . . Newform was called with a bad option. not -s format There was no tab on one line. can't open file Self-explanatory. internal line too long A line exceeds 512 characters after being expanded in the internal work buffer. tabspec in error A tab specification is incorrectly formatted, or specified tab stops are not � ascending. 1 tabspec indirection illegal A tabspec read from a file (or standard input) may not contain a tabspec referencing another file (or standard input). - 2-
NEWFORM (l) NEWFORM (l) EXIT CODES 0 - normal execution 1 - for any error SEE ALSO csplit(l), tabs(l), fspec(4). BUGS Newform normally only keeps track of physical characters; however, for the -i and -o options, newform will keep track of backspaces in order to line up tabs in the appropriate logical columns. Newform will not prompt the user if a tabspec is to be read from the standard input (by use of -i-- or -o--) . If the -r option is used, and the last -o option specified was -o--, and was preceded by either a -o-- or a -i--, the tab specification format line will be incorrect. - 3-
- Page 395: LD ( 1 ) FILES LD ( 1) allow compat
- Page 398 and 399: LEX(l) LEX(l) EXAMPLE character def
- Page 401 and 402: LINT ( l ) LINT ( 1 ) NAME lint - a
- Page 403: LOGNAME ( l ) LOGNAME ( l ) NAME lo
- Page 406 and 407: I� �- '--- . ·
- Page 408 and 409: LP (l) LP (l) -ooption Specify prin
- Page 410 and 411: LPSTAT (l) LPSTAT (l) SEE ALSO enab
- Page 412 and 413: LS (l) LS (l) -f Force each argumen
- Page 415 and 416: M4 ( 1 ) M4 ( 1) NAME m4 - macro pr
- Page 417 and 418: M4 (1) undivert divnum dnl if else
- Page 419 and 420: MAIL ( 1) MAIL (l) NAME mail, rmail
- Page 421 and 422: MAKE(l) MAKE(l) NAME make - maintai
- Page 423 and 424: MAKE ( I) MAKE (l) MAKEFLAGS macro
- Page 425 and 426: MAKE(l) MAKE (I) .C .C - .Sh .sh- .
- Page 427 and 428: MAKE (l) MAKE (l) In the above exam
- Page 429 and 430: MAKEKEY (l) (Domestic Version Only
- Page 431 and 432: MESG ( 1) MESG ( 1) NAME mesg - per
- Page 433 and 434: MESSAGE( ! ) ( AT&T UNIX PC only )
- Page 435: MKDIR (l) MKDIR (l) NAME mkdir - ma
- Page 438 and 439: MM (l) HINTS MM (l) Mm reads the st
- Page 440 and 441: i�
- Page 442 and 443: MORE(l) MORE (l) stand-out mode, mo
- Page 444 and 445: MORE( I) MORE(l) The terminal is se
- Page 449: NEWGRP ( I ) NEWGRP ( I ) NAME newg
- Page 452 and 453: � ', y n \,..._ --
- Page 454 and 455: NL(l) NL(l) -ssep Sep is the charac
- Page 456 and 457: NM (l) FILES NM ( l ) -V Print the
- Page 459 and 460: NROFF(l) NROFF(l) NAME nroff - form
- Page 461 and 462: OD (1) OD (1) NAME od - octal dump
- Page 463 and 464: PACK ( 1) PACK( l ) NAME pack, peat
- Page 465: PASSWD ( l ) PASSWD ( l ) NAME pass
- Page 468 and 469: PASTE (l) PASTE (l) pr(l): pr -t -
- Page 471 and 472: PR (l) PR (l) NAME pr - print files
- Page 473 and 474: PROF ( 1) PROF ( 1) NAME prof - dis
- Page 475 and 476: PRS ( l ) PRS ( l ) NAME prs - prin
- Page 477 and 478: PRS ( 1 ) PRS ( 1 ) TABLE 1 (Contin
- Page 479 and 480: PS ( l ) PS ( l ) NAME ps - report
- Page 481: PS (l) PS (l) WCHAN (1) The event f
- Page 484 and 485: PTX ( 1) PTX ( 1) SEE ALSO nroff( l
- Page 487 and 488: REGCMP ( 1 ) REGCMP (l) NAME regcmp
- Page 489: RM ( l ) RM (l) NAME rm, rmdir - re
- Page 492 and 493: I�
- Page 495: SCCSDIFF ( 1 ) SCCSDIFF ( 1 ) NAME
NEWFORM (l) NEWFORM (l)<br />
EXIT CODES<br />
0 - normal execution<br />
1 - for any error<br />
SEE ALSO<br />
csplit(l), tabs(l), fspec(4).<br />
BUGS<br />
Newform normally only keeps track of physical characters; however,<br />
for the -i and -o options, newform will keep track of backspaces<br />
in order to line up tabs in the appropriate logical columns.<br />
Newform will not prompt the user if a tabspec is to be read from<br />
the standard input (by use of -i-- or -o--) .<br />
If the -r option is used, and the last -o option specified was<br />
-o--, and was preceded by either a -o-- or a -i--, the tab<br />
specification format line will be incorrect.<br />
- 3-