03-29-2013
What is not working with your code? While your problem may be very simple, your specification is not. Wildest guessing does not lead to an acceptable proposal. Please post input samples, desired output, and an explanation on how to get from A to B.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi, I need help to write a korn shell script to
1. Check and compare the first file contains single record from the /scp/inbox directory against the badpnt.dat file from the pnt/badfiles directory contains multiple records based on the fam_id column value start at position 38 to 47 from the... (7 Replies)
Discussion started by: hanie123
7 Replies
2. Shell Programming and Scripting
Hi
i want to compare files
a.txt
12345,23
34567,76
65456,10
13467,01
b.txt
12346,23
34567,76
23333,90
65456,10
13467,03
i want o/p in 3 files
common.txt
both have (2 Replies)
Discussion started by: aaysa123
2 Replies
3. Shell Programming and Scripting
Here is my situation. I need to compare two tab separated files (diff is not useful since there could be known difference between files).
I have found similar posts , but not fully matching.I was thinking of writing a shell script using cut and grep and while loop but after going thru posts it... (2 Replies)
Discussion started by: blackjack101
2 Replies
4. Shell Programming and Scripting
Hi,
I am writing a comparator script, which comapre two txt files(column by column)
below are the precondition of this comparator
1)columns of file are not seperated
Ex.
file1.txt
8888812341181892
1243548895685687
8945896789897789
1111111111111111
file2.txt
9578956789567897... (2 Replies)
Discussion started by: kumar96877
2 Replies
5. Shell Programming and Scripting
Dear All,
I would appreciate any help..At the moment, my work is stuck cos of my inability to resolve this issue.
Which is following:
I have two files with the arrngment like this
file-1
190645 12 3596022
190645 12 3764915
190645 16 3803981
190645 12 3854102
190645 12 4324593
190645... (12 Replies)
Discussion started by: emily
12 Replies
6. Shell Programming and Scripting
Hi all,
I have two two-column tab-separated files with the following input:
inputA
dog A
dog B
cat A....
inputB
dog C
mouse A
output
dog
I need to compare the 1st column of each file and output those shared items.
What is the best unix solution for that? (5 Replies)
Discussion started by: owwow14
5 Replies
7. Shell Programming and Scripting
Hi All,
I have 2 files in the following format :
File 1
S00999999|BHANU|TEST|007 JOHN DOE APT 999||VENGA HIGHWAY|MA|09566|SCO DUAL|20140201|20140331|20140401|20140630|20140327|
S00888888|BU|TES|009 JOHN DOE APT 909||SENGA HIGHWAY|MA|08566|SCO... (1 Reply)
Discussion started by: nua7
1 Replies
8. Shell Programming and Scripting
Hi, I have two files roughly 1200 fields in length for each row, sorted on the 2nd field. I need to compare based on that 2nd column between file1 and file2 and print lines that exist in both files into separate files (I can't guarantee that every line in file1 is in file2).
Example:
File1: ... (1 Reply)
Discussion started by: origon
1 Replies
9. Shell Programming and Scripting
I have the following 2 files.
File 1
08FB,000192602673,10000000c9a6b240
0121,000192602673,20000025b550101f
0121,000192602673,20000025b550100f
08FA,000192602673,10000000c9a6b240
File 2
18F2,000195702363,10000000c9a6b240
18F3,000195702363,10000000c9a6b240... (2 Replies)
Discussion started by: kieranfoley
2 Replies
10. Shell Programming and Scripting
Example:
I have files in below format
file 1:
zxc,133,joe@example.com
cst,222,xyz@example1.com
File 2 Contains:
hxd
hcd
jws
zxc
cst
File 1 has 50000 lines and file 2 has around 30000 lines :
Expected Output has to be :
hxd
hcd
jws (5 Replies)
Discussion started by: TestPractice
5 Replies
MIXER(1) The Canonical Csound Reference MIXER(1)
NAME
mixer - Mixes together a number of soundfiles. .
DESCRIPTION
Mixes together a number of soundfiles, starting at different times and with individual channel selection from the input files.
SYNTAX
mixer [OPTIONS ... ] infile [[OPTIONS... ] infile] ...
INITIALIZATION
Flags:
o -A = Generate an AIFF output file.
o -W = Generate an WAV output file.
o -h = Generate an output file with no header.
o -c = Generate 8-bit signed_char sound samples.
o -a = Generate alaw sound samples.
o -u = Generate ulaw sound samples.
o -s = Generate short integer sound samples.
o -l = Generate long (32 bit) integer sound samples.
o -f = Generate floating point samples.
o -F arg = Specifies the gain to be applied to the following input file. If arg is a floating point number that gain is applied uniformly
to the input. Alternatively it could be a file name which specifies a breakpoint file for varying the gain for different periods.
o -S integer = Indicate at which sample to start to mix in the next input file.
o -T fpnum = Indicate at which time (in seconds) to start to mix in the next input file.
o -1 = Mix in channel 1 from next sound file.
o -2 = Mix in channel 2 from next sound file.
o -3 = Mix in channel 3 from next sound file.
o -4 = Mix in channel 4 from next sound file.
o -^ intx inty = Mix in channel x from next sound file as channel y in the output.
o -v = Verbose mode.
o -R = Continually rewrite the header while writing soundfile (WAV/AIFF).
o -H integer = Show a "heart-beat" to indicate progress, in style 1, 2 or 3.
o -N = Alert call (usually ringing the bell) when finished.
o -o fname = output file name (default: test.wav)
EXAMPLES
The default values are
mixer -s -otest -F 1.0 -S 0
For example
mixer -F 0.96 in1.wav -S 300 -2 in2.aiff -S 300 -^4 1 in3.wav -o out.wav
This creates a new sound file with a constant gain of 0.96 from in1.wav with the second channel of in2.aiff mixed in after 300 samples and
channel 4 of in3.wav outpout as channel 1 after 300 samples.
CREDITS
Author: John ffitch
1994
AUTHORS
Barry Vercoe
MIT Media Lab
Author.
Dan Ellis
MIT Media Lab,
Cambridge
Massachussetts
Author.
COPYRIGHT
5.10 08/01/2011 MIXER(1)