Okay, well this is more or less my first attempt at writing a shell script.
Anyways, here's my code:
cd ${PATH}
if
then
rm ${FILE}
./anotherScript
else
exit 1
fi
exit 1
Anyways, it's a pretty simple script that is supposed to search for the... (4 Replies)
Hey guys,
I'm trying to setup a case statement that checks a value against 5 separate ranges of numbers.
Here are the things I've tried with no success.
case "$AGE" in
"<10") echo "You're in this decade.";;
"") echo "You're in this decade.";;
"") echo "You're in... (5 Replies)
Hello all,
I'm trying to automate an if statement in my Perl script. The script opens an input file for reading, checks each line in the file for a particular substring, and if it finds the substring, writes it to an output file.
There are approximately 200 different input files. Each has... (3 Replies)
How do I test multiple words in a string test like below:
if ]
then
print "You entered $TBS name.\n"
else
print "You entered an incorrect response.\n"
fi
This test does not work. I have tried different syntax versions. How does this work? And is there a better way to do it?
... (10 Replies)
Hello,
We have to configure servers with a range of IPs which is in itself a subject for another script assistance request -but- we have run into quite a few IP ranges with routing problems lately.
I've been trying to figure out the best way to test a range of IPs, I mean, manually it's not... (4 Replies)
Hello,
I am trying to build a test statement but I can't make it work
I want to rearrange some fields, so if my "$cfg" variable contains a string ending with .log (*.log) I want to move it in another field.
Any help will be much appreciated!
Thank you
Shell:sh
if
then
log="${cfg}"... (9 Replies)
Hi All.
I have a file that has an ID Number field....some of the ID Numbers are actual SSNs. ...does anyone know the range that SSNs may be...this is what I have found so far poking around SSN info sites....
greater than 001-01-0000 and less than 770-00-0000. Does anyone know this to be... (1 Reply)
Is there a way to create a loop that will output number starting from 0.1 to 10.0
0.1
0.2
0.3
0.4
0.5
..
...
10.0
This is what i tried.
for i in {1..50}; do printf -v i '%02d' $i ; echo "$i"; done
That will print
01
02
03
..
..
50 (9 Replies)
Discussion started by: vietrice
9 Replies
LEARN ABOUT DEBIAN
measerl
MEASERL(1) Voicetronix Telephony Tools MEASERL(1)NAME
measerl - Measure the echo-return loss on Voicetronix telephony hardware
SYNOPSIS
measerl [options]
DESCRIPTION
The measerl utility tests the echo-return loss on the phone line. For hardware that supports it, it can scan through bybrid balance regis-
ter settings to help establish a lower ERL. Having a lower ERL improves DTMF cutthrough and audio quality. The software echo cancellation
needs at least -6dB before it can make a difference.
FXS (station) ports should perform this test using the --nohook option with the handset already off hook and the microphone muted.
FXO (trunk) ports will answer to an incoming call.
A series of tones will be played down the line to determine the ERL in several parts of the audio spectrum. You should avoid creating any
other noise on the line while this test is running, or the results may be skewed.
OPTIONS
The following options are available:
--help, -?
Show summary of options.
--card number
Explicitly select the card to test. Default is card 0.
--port number
Explicitly select the port to test. Default is port 0 of the card being tested.
--nohook
Use this option for testing station (FXS) ports.
--offhook
Take an FXO port off hook immediately. Don't wait for an incoming ring.
--bal1 value
--bal2 value
--bal3 value
Set codec hybrid balance registers. Only for hardware which explicitly supports that.
--ec Enable the echo canceller.
--pg gain
Set codec play gain. Values may range from -12.0 to 12.0.
--rg gain
Set codec record gain. Values may range from -12.0 to 12.0.
--dial port
Dial out another port on the same card.
--dial port number
Dial number from port on the same card.
--scan file start end step
Scan the hybrid balance register settings from start to end in increments of step, recording the results to file. Only for hardware
that explicitly permits setting these registers. Valid values for the start and end are in the range 0 - 255.
--autoscan
Automatically scan the codec balance values.
--handset
Proto handset mode.
--loop Enable software loopback.
--hostecho
Enable the host based echo canceller.
SEE ALSO vpbecho(1), ringstat(1)AUTHOR
Ron Lee, Peter Wintulich, David Rowe, Voicetronix <support@voicetronix.com.au>
This manual page was written by Ron <ron@debian.org>, for the Debian project (but may be used by others).
VPB driver package Jan 4, 2007 MEASERL(1)