This is the code:
while test 1 -eq 1
do
read a
$a
if test $a = stop
then
break
fi
done
I read a command on every loop an execute it.
I check if the string equals the word stop to end the loop,but it say that I gave too many arguments to test.
For example echo hello.
Now the... (1 Reply)
I want to make a script that check for the argument passed to it and generates an error in case any character/string argument passed to it.
I am using below code, but its not working. can anyone help.
#!/bin/bash
if ]; then
echo 'An integer argument is passed to the script hence... (3 Replies)
I want to check (using bash condition test function) if string contains three spaces, ignoring last three spaces at the end of string.
string_to_report='foo bar foo bar '
string_to_ignore='foo bar ' (8 Replies)
Discussion started by: useretail
8 Replies
LEARN ABOUT OPENSOLARIS
test-speech
test-speech(1) User Commands test-speech(1)NAME
test-speech - a test application provided by gnome-speech
DESCRIPTION
test-speech is a simple test application provided by gnome-speech. It is used to verify the driver for a speech engine, e.g., freetts-syn-
thesis-driver, is funcioning properly, in order to make sure users can activate and interact with the gnome-speech driver successfully.
GNOME Speech aims to be a general interface to various text-to-speech engines for the GNOME desktop. It allows the simple speaking of text,
as well as control over various speech parameters such as speech pitch, rate, and volume.
FILES
The following files are used by this application:
/usr/bin/test-speech a test application provided by gnome-speech
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-a11y-speech |
+-----------------------------+-----------------------------+
|Interface stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO libgnomespeech(3), attributes(5)NOTES
gnome-speech is written by Marc Mulcahy and Michael Meeks.
SunOS 5.11 3 Dec 2006 test-speech(1)