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

📄 m6.6

📁 UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱昂氏unix源代码分析都是用的该版
💻 6
字号:
.th M6 VI 2/19/74.sh NAMEm6 \*- general purpose macroprocessor.sh SYNOPSIS.bd m6[ name ].sh DESCRIPTION.it M6copies the standard input to the standard output,with substitutions for any macro calls that appear.When a file name argumentis given, that file is read before the standard input..s3The processor is as described in the reference with theseexceptions:.s3.lp +2 0.it #def,arg1,arg2,arg3:causes \fIarg1\fP tobecome a macro with defining text \fIarg2\fP and (optional) built-in serial number\fIarg3\fP..s3.it #del,arg1:deletes the definition of macro \fIarg1\fP..s3.it #end:is not implemented..s3.it #list,arg1:sends the name of the macro designated by \fIarg1\fP to the currentdestination without recognition of any warning characters;\fIarg1\fP is 1 for the most recently defined macro, 2 for the next most recent,and so on.The name is taken to be empty when \fIarg1\fP doesn't make sense..s3.it #warn,arg1,arg2:replaces the old warning character \fIarg1\fP by the new warning character \fIarg2\fP..s3.it #quote,arg1:sends the definition text of macro \fIarg1\fP to the currentdestination without recognition of any warning characters..s3.it #serial,arg1:delivers the built-in serial number associatedwith macro \fIarg1\fP..s3.it #source,arg1:is not implemented..s3.it #trace,arg1:with \fIarg1\fP = `1'causes a reconstruction of each later call to be placedon the standard output with a call level number;other values of \fIarg1\fP turn tracing off..i0.s3The built-in `warn' may be used to replace inconvenient warning characters.The example below replaces `#' `:' `<' `>' by `[' `]' `{' `}'..s3.lp +10 0.nf#warn,<#>,[:[warn,<:>,]:[warn,[substr,<<>>,1,1\fB;\fP,{][warn,[substr,{{>>,2,1\fB;\fP,}][now,{calls look like this}].fi.i0.s3Every built-in function has a serial number, which specifies the actionto be performed before the defining text is expanded.The serial numbers are:1 gt,2 eq,3 ge,4 lt,5 ne,6 le,7 seq,8 sne,9 add,10 sub,11 mpy,12 div,13 exp,20 if,21 def,22 copy,23 warn,24 size,25 substr,26 go,27 gobk,28 del,29 dnl,32 quote,33 serial,34 list,35 trace.Serial number 0specifies no built-in action..sh "SEE ALSO"A. D. Hall, M6 Reference Manual.Computer Science Technical Report #2, Bell Laboratories, 1969..sh DIAGNOSTICSVarious table overflows and ``impossible'' conditionsresult in comment and dump.There are no diagnostics for poorly formed input..sh AUTHORM. D. McIlroy.sh BUGSProvision should be made to extend tables as needed,instead of wasting a big fixed core allocation.You get what the PDP11 gives you for arithmetic.

⌨️ 快捷键说明

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