V4/usr/man/man1/fed.1
.th FED I 1/15/73
.sh NAME
fed \*- edit associative memory for form letter
.sh SYNOPSIS
.bd fed
.sh DESCRIPTION
.it Fed
is used to edit a form letter associative memory
file,
.bd form.m,
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 \fBm\fR.
The commands are:
.s3
.lp +3 3
\fBe\fR name ...
.br
.it Fed
writes the string whose name is
.it name
onto a temporary file
and executes
.it ed.
On exit from the
\fIed\fR the temporary file is copied back into the associative
memory.
Each argument is operated on separately.
Be sure to give an
.it "ed w"
command (without a filename)
to rewrite
.it fed's
temporary file
before quitting out of
.it ed.
.s3
.lp +3 3
.bd d
[ name ... ]
.br
deletes a string and its name from the memory. When called with
no arguments
.bd d
operates in a verbose mode typing each string
name and deleting only if a
.bd y
is typed. A
.bd q
response returns
to \fIfed\fR's command level. Any other response does nothing.
.s3
.lp +3 3
.bd m
name1 name2 ...
.br
(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.
.s3
.lp +3 3
.bd n
[ name ... ]
.br
(names) lists the string names in the memory. If called with
the optional arguments, it just lists those requested.
.s3
.lp +3 3
.bd p
name ...
.br
prints the contents of the strings with names given by the arguments.
.s3
.lp +3 3
.bd q
.br
returns to the system.
.s3
.lp +3 3
.bd c
[
.bd p
] [
.bd f
]
.br
checks the associative memory file for consistency
and 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 free
storage and removing references to
released headers from associative
memory.
.br
.i0
.dt
.sh FILES
/tmp/ftmp? temporary
.br
form.m associative memory
.sh "SEE ALSO"
form(I), ed(I), sh(I)
.sh WARNING
It
is legal but unwise to have string names
with blanks, `:' or `?' in them.
.sh BUGS