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

📄 diffmk.1

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 1
字号:
.\" SCCSID: @(#)diffmk.1	8.1	9/11/90.if t .ds ' \h@.05m@\s+4\v@.333m@\'\v@-.333m@\s-4\h@.05m@.if n .ds ' '.if t .ds ` \h@.05m@\s+4\v@.333m@\`\v@-.333m@\s-4\h@.05m@.if n .ds ` `.TH diffmk 1.SH Namediffmk \- mark differences between files.SH Syntax.B diffmk\fIname1 name2 name3\fR.SH Description.NXR "diffmk command".NXR "file" "comparing"The.PN diffmkcommandcompares two versions of a file and creates athird file that includes ``change mark'' commands for.PN nroffor.PN troff .The.I name1\^and.I name2\^are the old and new versions of the file.The.PN diffmkcommand generates.IR name3 ,which contains the lines of.I name2\^plus inserted formatter ``change mark''.RB ( \&.mc )requests.When.I name3\^is formatted,changed or inserted text is shown by \(bv at the rightmargin of each line.The position of deleted text is shown by a single.BR \(** ..PPThe.PN diffmk\^commandcan be used to produce listings of C (or other)programs with changes marked.A typical command line for such use is the following:.EXdiffmk \|old.c \|new.c \|tmp; \|nroff \|macs \|tmp \|\(bv \|pr.EEIn this example the file.B macscontains:.RS.PP.nf\&.pl \|1\&.ll \|77\&.nf\&.eo\&.nc \|\*`.fi.RE.PPThe.B \&.llrequest might specify a different line length, depending on thenature of the program being printed.The.B \&.eoand.B \&.ncrequests are probably needed only for C programs..PPIf the characters \(bv and.B \(**are inappropriate,a copy of.PN diffmkcan be edited to change them.The.PN diffmkcommandis a shell procedure..SH Restrictions.NXR "diffmk command" "restricted"Aesthetic considerations may dictate manual adjustment of some output.File differences involving only formatting requests may produce undesirableoutput,that is, replacing.B \&.spby.B \&.sp 2willproduce a ``change mark'' on the preceding or following line of output..SH See Alsocmp(1), comm(1), diff(1), nroff(1), join(1), sccsdiff(1), troff(1), uniq(1)

⌨️ 快捷键说明

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