02-19-2015
Thanks a lot its working fine
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have a source file with 'Aug 1 2004' kind format.
I need to search the records with certain period, like from Aug 1 2004 to Sep 20 2004.
Can someone give me some ideas what I should start with?
ThanX !! (1 Reply)
Discussion started by: whatisthis
1 Replies
2. Shell Programming and Scripting
I have my main script calling another script to retrive a "ls -alt" of a directory that's located in a remote location I'm sftping into.
main.sh
#!/bin/ksh
getLS.sh > output.txt
getLS.sh
#!/bin/sh
/home<..>/sftp <host@ip> <<!
cd /some/dir/Log
ls -alt
quit
!
Basically I'd like to be... (2 Replies)
Discussion started by: yongho
2 Replies
3. Shell Programming and Scripting
hello,
my objective is to calculate the swap size
-bash-3.00# swap -l
swapfile dev swaplo blocks free
/dev/md/dsk/d1 85,1 8 33559776 16966160
so size=blocks*512/(1024*1024*1024)
since blocks are 512-blocks
any idea how to get it?
so far I was able to... (6 Replies)
Discussion started by: melanie_pfefer
6 Replies
4. Shell Programming and Scripting
how to convert this perl expression to Python
while (<FIL>) {
s/+/ /g;
if (/<DOC\s+doc_ID=\"(.*?)\".*sys_ID=\"(.*?)\"/i) { #"
${$$hashptr{$sys_Id}}{$doc_Id} = $docstr; #
push(@$doclistptr, $doc_Id);
$doc_Id = $1;
$sys_Id = $2;
$docstr = "";
... (1 Reply)
Discussion started by: jaganadh
1 Replies
5. Shell Programming and Scripting
Hi,
I'm newbie in this forum and I already searched regarding Merge multiline into singleline but I always found different result which is I don't want it like i want.
Here is the data that i have it:
*** ALARM 711 A1/BTS "MAD08B1 08ACPA0"U 090604 1040
RADIO X-CEIVER ADMINISTRATION
BTS... (5 Replies)
Discussion started by: inteliduy
5 Replies
6. Shell Programming and Scripting
Hi,
I need to create an script which reads multi lines and convert it to single line or enter escape sequence at end "\".
e.g.
#!/bin/sh
echo -e "provide me query to run"
read query
create table test(
id int(11),
name char);
echo $query
But it's failing because of multi line... (8 Replies)
Discussion started by: mirfan
8 Replies
7. Shell Programming and Scripting
Hi,
In my input variable values are c:/test/sample/
I need to convert it to c:\test\sample
I need to find and replace it
How do I do it?
var_conversion=`"$var_SearchFile" | sed 's/'\'/'/'/g'`
echo ${var_conversion%/*}
My code throws error (4 Replies)
Discussion started by: magesh_bala
4 Replies
8. UNIX for Dummies Questions & Answers
my file or content of the file looks like this:
HR-BUSPARTNET
SC-POINQUIRY
BATCH
FIN-CHOPDATARESTRICT
HR-DATABASEACCESSNOEXEC
GL-EXTINQ
RSS
SC-APPROVER
ESS
all said and done, i'd like to have it look like this:
... (6 Replies)
Discussion started by: lawsongeek
6 Replies
9. Shell Programming and Scripting
Hi Seders,
i am new to this forum, but i think it's quite the best place to post.
So, here is my pb :
I have a csv file, with comma separator and text enclosed by ".
First pb is with text in " ......... ", wich sometimes includes lines break, and commas
And to complicate a little more,... (4 Replies)
Discussion started by: yogeek
4 Replies
10. Shell Programming and Scripting
Hello
My script has following line and output
find path -type d | awk -F "/" 'NF == 4{print $3}'
path/custype=Type1/logdate=20160414
path/custype=Type11122/logdate=20160414
But I need following output that I need custtype information between "" like... (4 Replies)
Discussion started by: msuluhan
4 Replies
LEARN ABOUT DEBIAN
jack_iodelay
JACK_IODELAY(1) General Commands Manual JACK_IODELAY(1)
NAME
jack_iodelay - JACK toolkit client to measure roundtrip latency
SYNOPSIS
jack_iodelay
DESCRIPTION
jack_iodelay will create one input and one output port, and then measures the latency (signal delay) between them. For this to work, the
output port must be connected to its input port. The measurement is accurate to a resolution of greater than 1 sample.
The expected use is to connect jack_iodelay's output port to a hardware playback port, then use a physical loopback cable from the corre-
sponding hardware output connector to an input connector, and to connect that corresponding hardware capture port to jack_iodelay's input
port. This creates a roundtrip that goes through any analog-to-digital or digital-converters that are present in the audio hardware.
Although the hardware loopback latency is the expected use, it is also possible to use jack_iodelay to measure the latency along any fully
connected signal path, such as those involving other JACK clients.
Once jack_iodelay completes its measurement it will print the total latency it has detected. This will include the JACK period length in
addition to any other latency in the signal path. It will continue to print the value every 0.5 seconds or so so that if you wish you can
vary aspects of the signal path to see their effect on the measured latency.
If no incoming signal is detected from the input port, jack_iodelay will print
Signal below threshold... .
every second until this changes (e.g. until you establish the correct connections).
To use the value measured by jack_iodelay with the -I and -O arguments of a JACK backend (also called Input Latency and Output Latency in
the setup dialog of qjackctl), you must subtract the JACK period size from the result. Then, if you believe that the latency is equally
distributed between the input and output parts of your audio hardware (extremely likely), divide the result by two and use that for input
and/or output latency value. Doing this measurement will enable JACK clients that use the JACK latency API to accurately position/delay
audio to keep signals synchronized even when there are inherent delays in the end-to-end signal pathways.
AUTHOR
Originally written in C++ by Fons Adriensen, ported to C by Torben Hohn.
0-122-0 September 2012 JACK_IODELAY(1)