07-22-2014
Hi,
I'm sorry but did not understand your question correctly. Can you post sample input and expected output.
Regards,
Ravi
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I want to check multiple files exist or not in a single if statement in korn Shell:confused:.
Please help me
Thanks (1 Reply)
Discussion started by: lathish
1 Replies
2. Shell Programming and Scripting
I want to check the files in particular directory are more that 0 Bytes i.e, Non zero byte file. The script should print a msg if all the files in that directory are empty( 0 Byte). (2 Replies)
Discussion started by: lathish
2 Replies
3. Shell Programming and Scripting
I have a file that looks like this, with the first number in each block within each SOURCE declaration being a distance.
%( PHASES
P
%)
%( SOURCES
(10,0.0)
(13,0.0)
(16,0.0)
(19,0.0)
(22,0.0)
(25,0.0)
(28,0.0)
(31,0.0)
(34,0.0)
(37,0.0) (0 Replies)
Discussion started by: kristinu
0 Replies
4. Shell Programming and Scripting
Hi,
I am new to unix and would greatly appreciate some help.
I have a file containing multiple colums containing different sets of data e.g.
File 1:
John Ireland 27_December_69
Mary England 13_March_55
Mike France 02_June_80
I am currently using the awk... (10 Replies)
Discussion started by: crunchie
10 Replies
5. Shell Programming and Scripting
Hi,
I need to check whether a particular file exists ot not using awk.
Can anyone help me please?
For Example:script that i am using:
awk '{filename =$NF;
rc=(system("test -r filename")) print $rc;}' "$1"
is not working.
Here I am passing a text file as input whose last word contains a... (6 Replies)
Discussion started by: manish007
6 Replies
6. Shell Programming and Scripting
Hi,
Input
7488 7389 chr1.fa chr1.fa
3546 9887 chr5.fa chr9.fa
7387 7898 chrX.fa chr3.fa
7488 7389 chr21.fa chr3.fa
7488 7389 chr1.fa chr1.fa
3546 9887 chr9.fa chr5.fa
7898 7387 chrX.fa chr3.fa
Desired Output
7488 7389 chr1.fa chr1.fa 2
3546 9887 chr5.fa chr9.fa 2... (2 Replies)
Discussion started by: jacobs.smith
2 Replies
7. Shell Programming and Scripting
Good day all
I need some helps,
say that I have data like below, each field separated by a tab
DATE NAME ADDRESS
15/7/2012 LX a.b.c
15/7/2012 LX1 a.b.c
16/7/2012 AB a.b.c
16/7/2012 AB2 a.b.c
15/7/2012 LX2 a.b.c... (2 Replies)
Discussion started by: alexyyw
2 Replies
8. Shell Programming and Scripting
Dear all,
I am using following function of some script to assign variable "JobNo" some value form file $SAMPLE"_status.log" ( generated using the red color command )
crab ntuplize_crab -status -c $SAMPLE >& $SAMPLE"_status.log" &
echo $SAMPLE"_status.log" "====="
jobNo=$(awk... (10 Replies)
Discussion started by: emily
10 Replies
9. Shell Programming and Scripting
HI Guys,
I have some 8 files with different name and extensions. I need to check if they are present in a specific folder or not and also want that script to show me which all are not present. I can write if condition for each file but from a developer perspective , i feel that is not a good... (3 Replies)
Discussion started by: shankarpanda003
3 Replies
10. Shell Programming and Scripting
Hello,
I have a file with below content - Example
3
6
69
139
210
345
395
418
490
492
I would like the result as - Multiple of 70 or nearest number in the file less than the multiple of 70
69
139 (5 Replies)
Discussion started by: Mannu2525
5 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)