01-17-2012
Also you can check when telnet session disconnect which is the $?(exit code) of it.
Then you can test that output, instead of counting the seconds.
That way if they make a sequel which last 3700 seconds, you won't have to modify your script
10 More Discussions You Might Find Interesting
1. Programming
here is the server and client side code now there is a bug after which the server enters an infinite loop.the server is designed as an echo server and if it reads /q then the server closes while the client can send messages till /q now after the frst msg when another msg is send infinite loop is... (3 Replies)
Discussion started by: arjunjag
3 Replies
2. Shell Programming and Scripting
Hi guys, I'm having a problem getting my infinite loop to loop. It simply reads in the users choice form the menu, executes the corresponding case statement and quits instead of looping back to the main menu again. I have a feeling it might be something with my if then statements within the case... (2 Replies)
Discussion started by: hootdocta5
2 Replies
3. Shell Programming and Scripting
what is the difference between while:,while true and while false? (6 Replies)
Discussion started by: proactiveaditya
6 Replies
4. UNIX for Advanced & Expert Users
I wanted to copy (not forward but copy) all incoming email to another address of mine. It worked, but now I encountered an infinite loop problem: When the second address doesn't like the content and bounces the message back, the bounce message will be sent back and forth.
So, what I have in... (1 Reply)
Discussion started by: distill
1 Replies
5. Shell Programming and Scripting
Hi All,
I need to run an infinite loop.
requirement below:
function1 --> creates a file file1
function2 ---> need to call if the file creates
i am running these both function via a script --> script.sh
i need to run the function1 first and if the file file1 creates then need to run the... (3 Replies)
Discussion started by: satyaranjon
3 Replies
6. Shell Programming and Scripting
Hi All,
I have a problem with auto telnet script, but I want to tell u something
a) I am only a member access on the server, so not able to access 'root' account
b) not able to install any software on server
3) On server, there is not install 'except'
I have to write a script, which is ran... (0 Replies)
Discussion started by: atul9806
0 Replies
7. Homework & Coursework Questions
Hi All,
I have a problem with auto telnet script, but I want to tell u something
a) I am only a member access on the server, so not able to access 'root' account
b) not able to install any software on server
3) On server, there is not install 'except'
1. The problem statement, all variables... (0 Replies)
Discussion started by: atul9806
0 Replies
8. Homework & Coursework Questions
Hi All,
I have a problem with auto telnet script, but I want to tell u something
a) I am only a member access on the server, so not able to access 'root' account
b) not able to install any software on server
3) On server, there is not install 'except'
1. The problem statement, all variables... (8 Replies)
Discussion started by: atul9806
8 Replies
9. Shell Programming and Scripting
Hi, I was debating if I should put this in the dummies or scripts section, I apologize in advance if I chose poorly.
Fairly new to Unix and BASH scripting but I thought I made it fairly well given my limited understanding. However, the output indicates that it's looping and I'm ending up with a... (5 Replies)
Discussion started by: gotreef
5 Replies
10. UNIX for Dummies Questions & Answers
Hi Gurus,
I am trying to write a script for checking the status of linux servers by connecting via telnet with port no but to terminate i have to manually type "quit" .how can i terminate the telnet session in script itself.For E.g
=========================================
telnet ipaddress... (3 Replies)
Discussion started by: kapil514
3 Replies
LEARN ABOUT DEBIAN
wav2swf
wav2swf(1) swftools wav2swf(1)
NAME
wav2swf - convert a WAV file to an SWF animation.
Synopsis
wav2swf [-o filename] file.wav
DESCRIPTION
Takes a wav file and converts it to a swf movie.
OPTIONS
-h, --help
Print short help message and exit
-V, --version
Print version info and exit
-o, --output filename
Explicitly specify output file. (Otherwise, output will go to output.swf)
-r, --framerate fps
Set file framerate to fps frames per second.
-s, --samplerate sps
Set samplerate to sps frames per second (default: 11025).
-d, --definesound
Store the sound as DEFINESOUND tag, not as streaming sound. Allows for
looping.
-l, --loop n
Loop the sound n times.
-C, --cgi
For use as CGI- prepend http header, write to stdout.
-S, --stop
Stop the movie at frame 0, and start the sound at 1, so that the
sound will not play until a "GotoFrame(1)" is issued.
(For use with flashsound.js).
-E, --end
Stop the movie at the end frame
-b, --bitrate bps
Set mp3 bitrate to bps (default: 32)
-v, --verbose
Be more verbose. (Use more than one /-v for greater effect)
AUTHOR
Matthias Kramm <kramm@quiss.org>
wav2swf February 2012 wav2swf(1)