Hi
I have 2 csv files which looks like the following and i have to compare the 2 CSVs and create a third file such that if the value of the 1st cell in A.CSV and the value of the first cell in the B.CSV are same, it should print "SAME" in the third file or else print NOT SAME. Likewise i need... (19 Replies)
Hello. I'm trying to delete the lines of a file does not contain the letter "T " (for example) at position 26.
So far, I could only print the result:
awk '{if (substr ($ 1,1,26)! ~ / T /) print}' file.txt
How I can do to eliminate the lines that meet this condition?
Help please. ... (4 Replies)
How do you delete cells from a space delimited text file given row and column number? Letś say the row number is r and the column number is c. Thanks! (5 Replies)
I have a directory containing thousands of items “video files”, these items were generated by an application, which generates two items with the same name but with different extensions “.avi and .mp4”. There was a tool in my application to remove one item @ a time. Later I found this tool removes... (5 Replies)
Hi Friends,
I have the following file,
cat input
chr1 1000 2000
chr1 600 699
chr1 701 1000
chr1 600 1710
chr2 900 1800
Now, I would like to see the difference of
Record1.Col2 - Record2.Col2
Record1.Col2 - Record2.Col3
Record1.Col3 - Record2.Col2
Record1.Col3 - Record2.Col3
... (1 Reply)
i have a table like this:
id, senderNumber, blacklist
-----------------------------
1 0835636326 Y
2 0373562343 Y
3 0273646833 Y
and I want to delete automatically if a new inserted row on another table consist anything on senderNumber column above using a BASH Script
I... (9 Replies)
I have file input
a,b,b,b,ee,b3012dasda,53012,203,1,END,START
b,c,b,b,ee,sdasdad,57483,203,,END,START
a,b,b,b,ee,b3012dasda,53012,203,,END,START
b,c,b,b,ee,sdasdad,57483,203,1,END,START
I want every ",," in $9 replace with ,0,
the output should be
... (3 Replies)
Hello,
I have a directory with many files whose creation time is distributed all over the day.
I need ANY 20 files per hour. So, I need
20 files for hour 00
20 files for hour 01
...
20 files for hour 23
What I have done so far is not great. Here is the code:
# get the Month
a=`echo... (8 Replies)
Gents,
Please can you help me.
In the range 4-24 column the values are duplicate some times and I will like to delete the fist occurrence and keep the last only. The file is not sorted and I can sorted because from column 75 to the end the file is increase by time..
I have a file like this... (10 Replies)
Hi,
I have a file like below
PRUM,67016800 ,CC ,C1,67016800 , ,Y,Y,2 ,CK,BX,FOX ,00000001,EA,00000001,20141120 00:00:00, ,N,Y,Y,CK ABCDEF... (7 Replies)
Discussion started by: mady135
7 Replies
LEARN ABOUT MOJAVE
ccosh
CCOSH(3) BSD Library Functions Manual CCOSH(3)NAME
ccosh -- complex hyperbolic cosine function
SYNOPSIS
double complex
ccosh(double complex z);
long double complex
ccoshl(long double complex z);
float complex
ccoshf(float complex z);
DESCRIPTION
ccos(z) computes the hyperbolic cosine of the complex floating-point number z.
For all complex floating point numbers z,
ccosh(conj(z)) = conj(ccosh(z)),
ccosh(-z) = ccosh(z).
SPECIAL VALUES
The symmetries of ccosh() are used to abbreviate the specification of special values.
ccosh(0 + 0i) returns 1 + 0i.
ccosh(0 + inf i) returns NaN + 0i, and raises the invalid flag.
ccosh(0 + NaN i) returns NaN + 0i.
ccosh(x + inf i) returns NaN + NaN i, and raises the invalid flag, for finite nonzero x.
ccosh(x + NaN i) returns NaN + NaN i, for finite nonzero x.
ccosh(inf + 0i) returns inf + 0i.
ccosh(inf + yi) returns inf * cis(y), for finite positive y, where cis(y) = cos(y) + i*sin(y).
ccosh(inf + inf i) returns inf + NaN i, and raises the invalid flag.
ccosh(inf + NaN i) returns inf + NaN i.
ccosh(NaN + 0i) returns NaN + 0i.
ccosh(NaN + yi) returns NaN + NaN i, for nonzero numbers y.
ccosh(NaN + NaN i) returns NaN + NaN i.
NOTES SEE ALSO ccos(3)complex(3)STANDARDS
The ccosh() function conforms to ISO/IEC 9899:2011.
4th Berkeley Distribution December 11, 2006 4th Berkeley Distribution