03-22-2017
\n- is a new-line followed by dash space when used in echo/printf (assuming echo supports \n).
You can always test the hypothesis by creating a "test harness" to mimic....
This User Gave Thanks to vgersh99 For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I have installed solaris 10 on an intel machine. Logged in as root. In CDE, i open terminal session, type login alex (normal user account) and password and i get this message
No utpmx entry: you must exec "login" from lowest level "shell" :confused:
What i want is: open various... (0 Replies)
Discussion started by: peterpan
0 Replies
2. Shell Programming and Scripting
I would like to delete a complete line which have particular word., and along with next line
For Eg:
disk 491 5/0/1/1/0.116.23.19.0.1.7 sdisk CLAIMED DEVICE
/dev/dsk/c107t1d7 /dev/rdsk/c107t1d7
I am able to delete complete line by matching that word "CLAIMED" by using this following... (4 Replies)
Discussion started by: prablr
4 Replies
3. UNIX for Dummies Questions & Answers
Hi!!..
I would like to know what is maximum character size for a command in the "sh" or "bourne" shell?
Thanks in advance..
Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies
4. UNIX for Advanced & Expert Users
Hi!!..
I would like to know what is maximum character size for a command in the "sh" or "bourne" shell?
Thanks in advance..
Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies
5. Shell Programming and Scripting
Hi!!..
I would like to know what is maximum character size for a command in the "sh" or "bourne" shell?
Thanks in advance..
Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies
6. Shell Programming and Scripting
Hello,
The INPUT file a.txt contains this
a
a
a
b
b
b
I'm trying to execute this shell script from the Unix Command Line like this:
./k.sh a.txt > newfile.txt
#!/usr/bin/sh
infile="$1"
awk '{print $0;}' < $infile
I get this error message on the command line: (9 Replies)
Discussion started by: script_op2a
9 Replies
7. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
8. Shell Programming and Scripting
i=0
numberofproducts=${#urls} #gets number of entries in array called "urls"
numberofproductsminusone=`expr $numberofproducts - 1` #-subtract by one
while
do
wget ${urls}
i=$(( $i + 1 ))
sleep 10
done
I'm getting an error
./scrape: line 22: [0: command not found
that... (3 Replies)
Discussion started by: phpchick
3 Replies
9. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT DEBIAN
vdaaerl
VDAAERL(1) Voicetronix Telephony Tools VDAAERL(1)
NAME
vdaaerl - Measure the echo-return loss on Voicetronix FXO telephony modules
SYNOPSIS
vdaaerl [options]
DESCRIPTION
The vdaaerl utility tests the echo-return from a telephone line connected to a Voicetronix FXO module, such as those used on the OpenPCI
range of cards. It can scan all available impedance values to find the best match for a particular line.
It will wait for an incoming call on the port under test. The calling handset should have the microphone well muted for the duration of
the test.
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.
If no --impedance is specified, and the --scan option is not used, then the default impedance value (based on the port's country selection)
will be used.
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.
--impedance number
Test a particular impedance setting [0 - 15].
--scan Test all available impedances.
--playgain db
Set the hardware play gain. Values may range from -12.0 to 12.0.
--recgain db
Set the hardware record gain. Values may range from -12.0 to 12.0.
SEE ALSO
proslicerl(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 Oct 11, 2007 VDAAERL(1)