⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tbl.6

📁 UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱昂氏unix源代码分析都是用的该版
💻 6
字号:
.th TBL VI 2/2/75.sh NAMEtbl \*- format tables for nroff or troff.sh SYNOPSIS.bd tbl[ files ] ....sh DESCRIPTION.it Tblis an nroff (I)or troff(I)preprocessor for formatting tables.The input files are copied to the standard output,except for lines between .TS and .TEcommand lines, which are assumed to describe tablesand reformatted.The first line after .TS specifiesthe various columns: it consists of a list of columndescribers separated by blanks or tabs. Each columndescriber is a character stringmade up of the letters `n', `r', `c', `l' and `s',which mean:.lp +4 4.sp c	center within the column.lp +4 4.if n .sp 1.if t .sp .3r	right-adjust.lp +4 4.if n .sp 1.if t .sp .3l	left-adjust.lp +4 4.if n .sp 1.if t .sp .3n	numerical adjustment: the units digits of numbers are aligned..lp +4 4.if n .sp 1.if t .sp .3s	span the previous entry over this column..if n .sp 1.if t .sp .3.i0.s3The column describermay be followedby an integergiving the number of spaces between this column and the next; 3 is default.The describer`ccr5' indicates that the first two lines in this column arecentered; the third and remaining lines are right-adjusted; andthe column should be separatedfrom the column to the right by 5 spaces.Letting \\t represent a tab (which must be typed as a genuine tab)the input.s3.nf	.TS	cccl sccn sscn	Household Population	Town\\tHouseholds	\\tNumber\\tSize	Bedminster\\t789\\t3.26	Bernards Twp.\\t3087\\t3.74	Bernardsville\\t2018\\t3.30	Bound Brook\\t3425\\t3.04	Branchburg\\t1644\\t3.49	Bridgewater\\t7897\\t3.81	Far Hills\\t240\\t3.19	.TE.fiyields.nf.TS.nr 49 0.nr 50 0.nr 47 \n(49+\w'Town'+1n.if \n(47-\n(50 .nr 50 \n(47.nr 47 \n(49+\w''+1n.if \n(47-\n(50 .nr 50 \n(47.nr 47 \n(49+\w'Bedminster'+1n.if \n(47-\n(50 .nr 50 \n(47.nr 47 \n(49+\w'Bernards Twp.'+1n.if \n(47-\n(50 .nr 50 \n(47.nr 47 \n(49+\w'Bernardsville'+1n.if \n(47-\n(50 .nr 50 \n(47.nr 47 \n(49+\w'Bound Brook'+1n.if \n(47-\n(50 .nr 50 \n(47.nr 47 \n(49+\w'Branchburg'+1n.if \n(47-\n(50 .nr 50 \n(47.nr 47 \n(49+\w'Bridgewater'+1n.if \n(47-\n(50 .nr 50 \n(47.nr 47 \n(49+\w'Far Hills'+1n.if \n(47-\n(50 .nr 50 \n(47.nr 30 \n(49+\w'Household Population'+1n.nr 51 0.nr 47 \n(50+\w'789'+4n.if \n(47-\n(51 .nr 51 \n(47.nr 47 \n(50+\w'3087'+4n.if \n(47-\n(51 .nr 51 \n(47.nr 47 \n(50+\w'2018'+4n.if \n(47-\n(51 .nr 51 \n(47.nr 47 \n(50+\w'3425'+4n.if \n(47-\n(51 .nr 51 \n(47.nr 47 \n(50+\w'1644'+4n.if \n(47-\n(51 .nr 51 \n(47.nr 47 \n(50+\w'7897'+4n.if \n(47-\n(51 .nr 51 \n(47.nr 47 \n(50+\w'240'+4n.if \n(47-\n(51 .nr 51 \n(47.nr 31 \n(50+\w'Households'+4n.nr 52 0.nr 48 \n(50+\w'Households'+0n.if \n(48-\n(52 .nr 52 \n(48.nr 48 \n(50+\w'Number'+0n.if \n(48-\n(52 .nr 52 \n(48.nr 47 \n(51+\w''+1n.if \n(47-\n(52 .nr 52 \n(47.nr 47 \n(51+\w''+1n.if \n(47-\n(52 .nr 52 \n(47.nr 47 \n(51+\w''+1n.if \n(47-\n(52 .nr 52 \n(47.nr 47 \n(51+\w''+1n.if \n(47-\n(52 .nr 52 \n(47.nr 47 \n(51+\w''+1n.if \n(47-\n(52 .nr 52 \n(47.nr 47 \n(51+\w''+1n.if \n(47-\n(52 .nr 52 \n(47.nr 47 \n(51+\w''+1n.if \n(47-\n(52 .nr 52 \n(47.nr 47 \n(51+\w''+1n.if \n(47-\n(52 .nr 52 \n(47.nr 53 0.nr 47 \n(52+\w'3'+4n.if \n(47-\n(53 .nr 53 \n(47.nr 47 \n(52+\w'3'+4n.if \n(47-\n(53 .nr 53 \n(47.nr 47 \n(52+\w'3'+4n.if \n(47-\n(53 .nr 53 \n(47.nr 47 \n(52+\w'3'+4n.if \n(47-\n(53 .nr 53 \n(47.nr 47 \n(52+\w'3'+4n.if \n(47-\n(53 .nr 53 \n(47.nr 47 \n(52+\w'3'+4n.if \n(47-\n(53 .nr 53 \n(47.nr 47 \n(52+\w'3'+4n.if \n(47-\n(53 .nr 53 \n(47.nr 54 0.nr 48 \n(52+\w'Size'+0n.if \n(48-\n(54 .nr 54 \n(48.nr 47 \n(53+\w''+1n.if \n(47-\n(54 .nr 54 \n(47.nr 47 \n(53+\w'.26'+1n.if \n(47-\n(54 .nr 54 \n(47.nr 47 \n(53+\w'.74'+1n.if \n(47-\n(54 .nr 54 \n(47.nr 47 \n(53+\w'.30'+1n.if \n(47-\n(54 .nr 54 \n(47.nr 47 \n(53+\w'.04'+1n.if \n(47-\n(54 .nr 54 \n(47.nr 47 \n(53+\w'.49'+1n.if \n(47-\n(54 .nr 54 \n(47.nr 47 \n(53+\w'.81'+1n.if \n(47-\n(54 .nr 54 \n(47.nr 47 \n(53+\w'.19'+1n.if \n(47-\n(54 .nr 54 \n(47.if \n(30-\n(54 .nr 54 \n(30.if \n(31-\n(54 .nr 54 \n(31.fc  @.ta \n(54u @Household Population@   .ta \n(50u \n(54u @Town@   @Households@   .ta \n(50u \n(52u \n(54u @@   @Number@   @Size@   .ta \n(50u \n(51u \n(52u \n(53u \n(54u Bedminster@   @789@   @3.26@   Bernards Twp.@   @3087@   @3.74@   Bernardsville@   @2018@   @3.30@   Bound Brook@   @3425@   @3.04@   Branchburg@   @1644@   @3.49@   Bridgewater@   @7897@   @3.81@   Far Hills@   @240@   @3.19@   .fc.TE.fi.s3.s3If no arguments are given,.it tblreads the standard input,so it may be used as a filter.When it is used with.it eqnor.it neqnthe.it tblcommand should be first, to minimize the volumeof data passed throughpipes..sh BUGSNo column describer may end with `s'.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -