perm filename MANAGE.DOC[NEW,AIL] blob sn#408300 filedate 1979-01-08 generic text, type T, neo UTF8
print the file entries matching some pattern;
type out the first few lines of files whose entries
match some pattern; delete files whose entries match some pattern
and modify the "user" and "description" of the file entries matching
the pattern.

A typical scenario would have the user start the MANAGE program:

        R MANAGE

He would then ask the MANAGE program to print the names
of files which do not have user entries. These are
usually those files which he has
created since the last time that he ran the MANAGE program and
are either temporary files which he would want to delete
or permanent files for which he would want to give "user"
and "description" entries. Some files may not have very meaningful
names and the user might wish to jog his memory by 
typing out a few lines of the file. If it is a text
file the user would see 5 or 10 lines of the file at a time.
If it is not a text file he would see garbage. Then
the user would insert entries for the
"user" and "description" fields (see M command)
for the permanent files. Then he would delete
temporary files (see D command). He would
finally want to write out the text file with the
new "user" and "description" texts by using the
W command. Then to exit the MANAGE program
he would use the E command.

Another typical use would be if the user wanted to
to get a listing containing all the names of his files 
grouped by their use.
To do this he would run the MANAGE program
and ask it (using the S command) to sort the MANAGE.DIR file
by the "user" field.
Then he would either use the F command to print the 
entries or he could use the W command to write the entries back
to the MANAGE file (in their new order), exit the MANAGE
program (using the E) command and then
use either the 

       TYPE MANAGE.DIR

            or
  
       PRINT MANAGE.DIR

command to get the listing of all his file descriptions.
Commands


D - Delete. The command will ask for a pattern
	to match. The pattern will consist of
        a "user" anda filename. The user string that

	is typed in will be matched against
	the user strings associated with the files. The special
        string "*" will match every possible use. The empty
        string (got by typing just a return) will match only
        those files with an empty "user"specification.