07-22-2010
Frans
I see your point. I figured that I was probably over complicating things.
Tried your suggestion exactly and the filter works well printing the city names however the "'found at' $date" does not display nor does the sound play. (Sound works fine when run independently). For whatever reason, that "then" statement does not complete??
Thanks
Dave
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I know this is a total begginer question but what is wrong with this picture. My loop wont loop, it just drops me back to the prompt and gives the error "unary operator expected". Any help would be appreciated.
here it is,
#!/bin/sh
selection=
while
do
cat << MENU
1)List files in... (2 Replies)
Discussion started by: Fokus
2 Replies
2. UNIX for Dummies Questions & Answers
ok i just installed FreeBSD 4.8 on a computer i had lying around and it was working ok but then when i tried to set up KDE's xdm (kdm) i think i must have configured the login manager wrong because i cant login through the kdm and therefore i can log in to BSD at all?!
please can someone help me... (5 Replies)
Discussion started by: h3x
5 Replies
3. UNIX for Dummies Questions & Answers
I don't even know if this should go here but I just would like to know what this means:
d0e45878043844ffc41aac437e86b602
I know absolutely nothin' about UNIX, and I found this in a SQL table in a board I run.
Someone please tell me what that is in "normal" mode.
Pardon me for my... (4 Replies)
Discussion started by: daeglin
4 Replies
4. UNIX for Dummies Questions & Answers
I am wanting to download the Linux Program. When i go to download it I see several things to download. What do i download exactly? Then what do I do to install it. Also I have partitioned my hard drive to make way for Linux on the other part to play with it, will any problems arise from this?
I... (3 Replies)
Discussion started by: Seeto
3 Replies
5. Shell Programming and Scripting
This is probably a really simple problem, but goes easy on me I'm still a newb. The problem I have is that a script (we'll call it script.script) I edited won't run for some reason, I get the error "ksh: script.script: not found"
The location of my script is as follows: /home/users/arkitech
... (3 Replies)
Discussion started by: Arkitech
3 Replies
6. Shell Programming and Scripting
Assume $x equals "".
If I try:
if test -n $x
I get the "Expression syntax" error.
It works in Linux but not in unix bash. In unix bourne I get "test: argument expected" (4 Replies)
Discussion started by: lumix
4 Replies
7. Shell Programming and Scripting
Hi all
Sorry for the basic question, but i am writing a shell script to get around a slightly flaky binary that ships with one of our servers. This particular utility randomly generates the correct information and could work first time or may work on the 12th or 100th attempt etc !.... (4 Replies)
Discussion started by: rethink
4 Replies
8. Shell Programming and Scripting
Hi everyone.
I am new to shell scripting and have been looking at quite a few web pages to try and figure this out, but to no avail.
What I am trying to do is get a value from a text file that contains a paragraph of information.. Something similar too:
Welcome to random script
You are... (1 Reply)
Discussion started by: elemenopee
1 Replies
9. UNIX for Dummies Questions & Answers
This should be extremely simple and someone will probably answer it in .5 seconds. I need to know what:
VARIABLE=${0##*/}
does? I do not have a shell handy to just try it in. I am reading through some scripts and need to understand this line. Any help is appreciated.
Many thanks!
-... (3 Replies)
Discussion started by: chrisgoetz
3 Replies
10. Shell Programming and Scripting
Hi,
I have a variable called result that get the the below value i.e two lines assigned../logs/mymac/myserver.log:####<Jun 7, 2015 12:56:54 PM EDT> <myserver.my.bank.com> <mymac> < ExecuteThread: '5' for queue:\
'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1434640> <BEA-0900>... (0 Replies)
Discussion started by: shifahim
0 Replies
LEARN ABOUT OPENSOLARIS
gnome-sound-recorder
gnome-sound-recorder(1) User Commands gnome-sound-recorder(1)
NAME
gnome-sound-recorder - record and play back soundtracks
SYNOPSIS
gnome-sound-recorder [--file=filename] [--play=filename] [--record=filename] [--version]
DESCRIPTION
gnome-sound-recorder provides a graphical user interface to record soundtracks and play these back on your computer. You can use the Pref-
erences dialog to configure several recording options. For more details, press the F1 key to display the online help.
You can also launch an audio mixer using the File menu. The mixer used in GNOME for the Solaris operating environment is sdtaudiocon-
trol(1).
gnome-sound-recorder also uses sox(1) to play back the recorded soundtrack.
OPTIONS
The following options are supported:
--file=filename Open the specified audio file. You must click on the Play button to start playing the audio file. You can also use -f to
specify this option.
--play=filename Open the specified audio file and start playing the file. You can also use -p to specify this option.
--record=filenamSave the sound being played on your computer into the specified file. You can also use -r to specify this option.
--version Display the version number.
EXAMPLES
Example 1: Opening a File With gnome-sound-recorder
example% gnome-sound-recorder -f filename.wav
Example 2: Saving the Recorded Sound to a File
example% gnome-sound-recorder -r filename.wav
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables:
HOME User's home directory.
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/gnome-sound-recTheecommand-line executable for the application.
/usr/dt/bin/sdtaudiocontThe command-line executable for the mixer used in GNOME for the Solaris operating environment.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-sound-recorder |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
sdtaudiocontrol(1), sox(1), gst-std-options(5)
Latest version of the GNOME Desktop User Guide for your platform.
NOTES
Written by Ghee Teo, Sun Microsystems Inc., 2003, 2004.
SunOS 5.10 31 Aug 2004 gnome-sound-recorder(1)