Unix |
Unix v6 |
|
![]() |
fed(6) |
![]() |
fed edit form letter memory is used to edit a form
letter associative memory file, which consists of named
strings. Commands consist of single letters followed by a
list of string names separated by a single space and ending
with a new line. The conventions of the Shell with respect
to ‘*’ and ‘?’ hold for all commands
but m. The commands are: e name ...
writes the string whose name is onto a temporary file and
executes On exit from the ed the temporary file is
copied back into the associative memory. Each argument is
operated on separately. Be sure to give an editor command
(without a filename) to rewrite temporary file before
quitting out of [ name ... ]
deletes a string and its name from the memory. When called
with no arguments operates in a verbose mode typing each
string name and deleting only if a is typed. A response
returns to fed’s command level. Any other
response does nothing. name1 name2 ...
(move) changes the name of name1 to name2 and removes
previous string name2 if one exists. Several pairs of
arguments may be given. Literal strings are expected for the
names. [ name ... ]
(names) lists the string names in the memory. If called with
the optional arguments, it just lists those requested. name
...
prints the contents of the strings with names given by the
arguments.
returns to the system. [ ] [ ]
checks the associative memory file for consistency and reports the number of free headers and blocks. The optional arguments do the following: p |
causes any unaccounted-for string to be printed. f |
|||
fixes broken memories by adding unaccounted-for headers to free storage and removing references to released headers from associative memory. |
||||
/tmp/ftmp? |
temporary |
|||
form.m |
associative memory form (VI), ed (I), sh (I) It is legal but unwise to have string names with blanks, ‘*’ or ‘?’ in them. |
![]() |
fed(6) | ![]() |