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

📄 fed.6

📁 UNIX版本6的源代码
💻 6
字号:
.th FED VI 1/15/73.sh NAMEfed \*- edit form letter memory.sh SYNOPSIS.bd fed.sh DESCRIPTION.it Fedis used to edit a form letter associative memoryfile,.bd form.m,which consists of named strings.Commands consist of single letters followed by a list ofstring names separated by a single space and ending with anew line.The conventions of the Shell with respect to `*' and `?' hold forall commands but \fBm\fR.The commands are:.s3.lp +3 3\fBe\fR name ....br.it Fedwrites the string whose name is.it nameonto a temporary fileand executes.it ed.On exit from the\fIed\fR the temporary file is copied back into the associativememory.Each argument is operated on separately.Be sure to give an editor.it wcommand (without a filename)to rewrite.it fed'stemporary filebefore quitting out of.it ed..s3.lp +3 3.bd d[ name ... ].brdeletes a string and its name from the memory.  When called withno arguments.bd doperates in a verbose mode typing each stringname and deleting only if a.bd yis typed.  A.bd qresponse returnsto \fIfed\fR's command level.  Any other response does nothing..s3.lp +3 3.bd mname1 name2 ....br(move) changes the name of name1 to name2 and removes previousstring name2 if one exists.  Several pairs of arguments may be given.Literal strings are expected for the names..s3.lp +3 3.bd n[ name ... ].br(names) lists the string names in the memory.  If called withthe optional arguments, it just lists those requested..s3.lp +3 3.bd pname ....brprints the contents of the strings with names given by the arguments..s3.lp +3 3.bd q.brreturns to the system..s3.lp +3 3.bd c[.bd p] [.bd f].brchecks the associative memory file for consistencyand reports the number of free headers and blocks.The optional arguments do the following:.s3.lp +6 3\fBp\fR	causes any unaccounted-for string to be printed..s3.lp +6 3\fBf\fR	fixes broken memories by adding unaccounted-for headers to freestorage and removing references toreleased headers from associativememory..br.i0.dt.sh FILES/tmp/ftmp?	temporary.brform.m		associative memory.sh "SEE ALSO"form (VI), ed (I), sh (I).sh WARNINGItis legal but unwise to have string nameswith blanks, `*' or `?' in them..sh BUGS

⌨️ 快捷键说明

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