10-22-2019
Pls show detailed, abbreviated but representative, samples of respective files, supported by e.g. a hexdump of each. so we stop shooting in the dark and start a data driven analysis.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi gurus,
I am having a file containing a list of tables.i want to find the count of records inside thes tables.
for this i have to connect into database and i have to put the count for all the tables inside another file i used the following loop once all the tablenames are inside the file.
... (1 Reply)
Discussion started by: navojit dutta
1 Replies
2. Shell Programming and Scripting
Hi All,
I am new to UNIX and shell scripts and also new to this forum.
I need a script to find all the files in a directory that contain any of the strings present in another file.
Please provide me the script or if you could provide pointers to any link in this forum it would be helpful.... (4 Replies)
Discussion started by: tsanthosh
4 Replies
3. Shell Programming and Scripting
Hi All,
i have a file that is tab delimited. i need help to find the rows which are having same price based on the site code but some times, there are difference so i need to find only the records which are different in all site code.
Dept Sec Barcode 10001 10002 10003 10004... (1 Reply)
Discussion started by: malcomex999
1 Replies
4. Shell Programming and Scripting
Hi,
Could anyone help me to solve this problem?
I have two files "f1" and "f2" having 2 fields in each, a) file size and b) file name. The data are almost same in both the files except for few and new additional lines. Now, I have to find out and print the output as, the difference in the... (3 Replies)
Discussion started by: royalibrahim
3 Replies
5. UNIX for Dummies Questions & Answers
Im pretty new to shell scripting, but i have got the jist of it over the past 10 weeks or so i have been using it. I just have one thing im stuck on thats bugging the hell out of me. Here it goes...
I need a script that -
You enter a filename and then a string which reports whether that string... (2 Replies)
Discussion started by: Waggie14
2 Replies
6. Shell Programming and Scripting
Hi,
file1.txt
AAA
BBB
CCC
DDD
file2.txt
abc|AAA|AAAabcbcs|fnwufnq
bca|nwruqf|AAA|fwfwwefwef
fmimwe|BBB|fnqwufw|wufbqw
wcdbi|CCC|wefnwin|wfwwf
DDD|wabvfav|wqef|fwbwqfwfe
i need the count of rows of file1.txt present in the file2.txt
required output:
AAA 2 (10 Replies)
Discussion started by: mdkm
10 Replies
7. UNIX for Dummies Questions & Answers
Sample Input File
2014/10/09 CDE876172588765 00:09:45 00:10:10 200 200 11.7093
2014/10/09 CDE366134588757 01:04:34 01:04:54 210 210 9.8898
2014/10/09 CDE765172345745 03:05:46 03:06:01 100 100 10.0601
2014/10/09 ... (8 Replies)
Discussion started by: rpm120
8 Replies
8. UNIX for Beginners Questions & Answers
Hi,
I am trying to find out whether there are any Unix utilities that compares folders, files and contents within the file and provides a comprehensive report. The comparison can be against base version of a folder and file with content. Can you please let me know of such a utility?
Thanks,... (6 Replies)
Discussion started by: Sripathi_ks
6 Replies
9. Shell Programming and Scripting
The contents of my service file srvtemplate-data-i4-s1.conf is
Description=test service for users
After=network.target local-fs.target
Type=forking
RemainAfterExit=no
PIDFile=/data/i4/srvt.pid
LimitCORE=infinity
EnvironmentFile=%I
.
.
.
WantedBy=multi-user.target (0 Replies)
Discussion started by: rupeshkp728
0 Replies
10. Shell Programming and Scripting
file2 content
f1file2 content
f1,1,2,3,4,5
f1,2,4,6,8,10
f10,1,2,3,4,5
f10,2,4,6,8,10
f5,1,2,3,4,5
f5,2,4,6,8,10awk 'FNR==NR{a;next}; !($1 in a)' file2 file1output
f10,1,2,3,4,5
f10,2,4,6,8,10
f5,1,2,3,4,5
f5,2,4,6,8,10awk 'FNR==NR{a;next}; ($1 in a)' file2 file1output
nothing... (4 Replies)
Discussion started by: gksenthilkumar
4 Replies
LEARN ABOUT OPENSOLARIS
mlib_signallpcpitchanalyze_s16
mlib_SignalLPCPitchAnalyze_S16(3MLIB) mediaLib Library Functions mlib_SignalLPCPitchAnalyze_S16(3MLIB)
NAME
mlib_SignalLPCPitchAnalyze_S16 - perform open-loop pitch analysis
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_SignalLPCPitchAnalyze_S16(mlib_s32 *pitch,
const mlib_s16 *sigwgt, const mlib_s32 *region,
mlib_s32 length);
DESCRIPTION
The mlib_SignalLPCPitchAnalyze_S16() function performs open-loop pitch analysis.
The open-loop pitch analysis uses perceptual weighted signal and is done with following steps.
In the first step, three maxima of the correlation
N-1
R(k) = SUM sw(j) * sw(j-k)
j=0
where N = length, is located for each of the three search regions.
In the second step, the retained maxima R(Ti), i=0,1,2 are normalized as following.
R(Ti)
Rn(ti) = ---------------------, i=0,1,2
N-1 2
SQRT(SUM sw(j-Ti) )
j=0
where N = length.
In the third step, the best open-loop delay Topt is determined as following.
Topt = T0
if (Rn(t1) >= (0.85 * Rn(Topt))
Topt = t1
if (Rn(t2) >= (0.85 * Rn(Topt))
Topt = t2
See G.729, G.729A, GSM EFR standards.
PARAMETERS
The function takes the following arguments:
pitch The speech pitch estimated.
sigwgt The weighted signal vector with samples in Q15 format. sigwgt points to the current sample of the weighted signal vector, length
samples must be availabe after this point, and MAX{region[i],i=0,1,...,5} samples must be available before this point.
region The lower/upper boundaries of the three search regions, where region[2*i] is the lower boundary of search region i and
region[2*i+1] is the upper boundary of search region i.
length The length of the signal vectors over which the correlation is calculated.
RETURN VALUES
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
mlib_SignalLPCPitchAnalyze_F32(3MLIB), attributes(5)
SunOS 5.11 2 Mar 2007 mlib_SignalLPCPitchAnalyze_S16(3MLIB)