Data in File
ABC:DEFGHI:123
ABCZYE:DEFI:123
ABCFGD:DEF:123
ABCEERRRRR:DEFGHI:123
Expected Format
1 ABC DEFGHIFE 123
2 ABCZYE DEFI 123
3 ABCFGD DEF 123
4 ABCEERRRRR DEFGHI 123
However when i enter the following... (2 Replies)
There is table 'DEPT' in the database with the following desciption:
Name Null? Type
------- -------- ------------------------
DEPTNO NOT NULL NUMBER(2)
DNAME NULL VARCHAR2(14)
LOC NULL VARCHAR2(13)
Using shell script, I need to create a structure for the... (2 Replies)
May data
Name = Andi
Address = none
Phone = 82728
Name = Peter
Address = none
Phone = 98799
The expected output
Name,Address,Phone
Andi,none,82728
Peter,none,98799
what i have done (6 Replies)
Hello,
I would like to modify an existing script of mine that uses a manually defined "MCVERSION" variable and make it define that variable instead based on this JSON file stored online:
https://s3.amazonaws.com/Minecraft.Download/versions/versions.json
Within that JSON, I 'm looking for... (4 Replies)
hi,
i need to copy one table with data into another table,
right now am using
create table table1 as select * from table2
i want the constraints of table1 to be copied to table2 also , can anyone give me some solution to copy the constraints also, now am using oracle 10.2.0.3.0... (1 Reply)
Hi,
I have a csv file from which i am fetching few columns as below:
IFILE=/home/home1/Report1.csv
OFILE=/home/home1/`date +"%m%d%y%H%M%S"`.dat
if #Checks if file exists and readable
then
awk -F "," '(NR>4) {print $1,$6,$2,$3,$4,$5,$6}' ${IFILE} >> ${OFILE}
fi
cat $OFILE | mail... (7 Replies)
I am trying to automate editing of a json file using bash script.
The file I initially receive is
{
"appMap": {
"URL1": {
"name": "a"
},
"URL2": {
"name": "b"
},
"URL3": {
"name": "c"
},
}
WHat I would like to do is replace... (5 Replies)
Hi,
I need to extract only the create table structure with columns alone.
for eg
hive_table
show create table hive_table:
create table hive_table(id number,age number)
OUTPUTFORMAT
'org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat'
LOCATION 'hdfs:/path/'
I need only below
... (5 Replies)
Hello.
I'm new to bash script and I'm learning the basics by writing some scripts.
Recently a friend of mine asked me if I could try to write a script to him to automate a couple of processes that uses JSON RPCs.
I'll try to explain in few words the workflow just to contextualize the problem.... (48 Replies)
Discussion started by: psysc0rpi0n
48 Replies
LEARN ABOUT MOJAVE
cexpf
CEXP(3) BSD Library Functions Manual CEXP(3)NAME
cexp -- complex exponential function
SYNOPSIS
#include <complex.h>
double complex
cexp(double complex z);
long double complex
cexpl(long double complex z);
float complex
cexpf(float complex z);
DESCRIPTION
cexp(z) returns the complex exponential of z.
cexp(conj(z)) = conj(cexp(z)), for all complex floating-point numbers z.
SPECIAL VALUES
The conjugate symmetry of cexp() is used to abbreviate the specification of special values.
cexp(+-0 + 0i) returns 1 + 0i.
cexp(x + inf i) returns NaN + NaN i, and raises the invalid flag, for finite x.
cexp(x + NaN i) returns NaN + NaN i, for finite x.
cexp(inf + 0i) returns inf + 0i.
For the following two cases, cis(y) denotes cos(y) + I*sin(y).
cexp(-inf + yi) returns 0*cis(y), for finite y.
cexp(inf + yi) returns inf*cis(y), for finite nonzero y.
cexp(-inf + inf i) returns -0 + 0i.
cexp(inf + inf i) returns -inf + NaN i, and raises the invalid flag.
cexp(-inf + NaN i) returns -0 + 0i.
cexp(inf + NaN i) returns -inf + NaN i.
cexp(NaN + 0i) returns NaN + 0i.
cexp(NaN + yi) returns NaN + NaN i for all nonzero numbers y.
cexp(NaN + NaN i) returns NaN + NaN i.
SEE ALSO exp(3)clog(3)complex(3)STANDARDS
The cexp() function conforms to ISO/IEC 9899:2011.
4th Berkeley Distribution December 11, 2006 4th Berkeley Distribution