The add command adds a phrase to a Solaris talkfile.
Synopsis
add phrase
phrase_number
to talkfile
talkfile_number
from file_name
Description
The add command adds phrases to the specified talkfile that were previously extracted from another talkfile using the copy command. The path name for the file may be the full pathname or the relative pathname. If no path is specified, the file is created in the current directory. If you are not in the directory from which the phrase to be added is stored, give the full path name for the talkfile and the source file. If the phrase already exists, the system displays the following message:
Phrase
phrase_number
already exists in talkfile
talkfile_number
Do you want to overwrite existing phrase? (y/n)
If an error occurs, system messages are printed on the controller screen. The source file may be a full path name or a relative path name.
The add command adds a phrase to the SPEECHDIR default directory, which is /home2/vfs/talkfiles.
Files
The following files are associated with the add command:
/speech/talk/*.pl
Example
The following example shows a command that adds phrase number 275 to talkfile 25 from the phrase stored in the Solaris file phr275 in the directory /tmp/junk.
add phrase 275 to talkfile 25 from /tmp/junk/phr275
The following example adds phrase 104 to talkfile 18 from the phrase stored in the Solaris file phr104 in the directory /speech/talk.
add phrase 104 to talkfile 18 from /speech/talk/phr104
See also