The erase command deletes a phrase from a Solaris talkfile.
Synopsis
erase phrase
phrase_number
from talkfile
talkfile_number
Description
The erase command deletes the phrases identified by the phrase IDs from the Solaris file. The phrase number many be any of the following:
After you enter the erase command, the system displays the following message, asking you to confirm the command before each phrase is erased:
Do you want to erase phrase
phrase#
? (y/n)
If the all option is used for phrases, the system prompts you only once to confirm the command:
Are you sure you want to erase ALL phrases from talkfile
talkfile#
? (y/n)
If the specified phases does not exist, the system displays:
Phrase
phrase#
does not exist in talkfile
talkfile#
No action taken.
When the system has deleted the phrase(s), the system prompt is displayed.
The erase command removes a phrase from the SPEECHDIR default directory, which is /home2/vfs/talkfiles.
Example
The following command erases phrase 174 from talkfile 23.
erase phrase 174 from talkfile 23
The following command erases phrases 218 through 222 and phrase 225 from talkfile 26.
erase phrase 218-222, 225 from talkfile 26
The following command erases all phrases from talkfile 29.
erase phrase all from talkfile 29
See also