10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Experts,
I have a filelist collected from another server , now want to sort the output using date/time stamp filed.
- Filed 6, 7,8 are showing the date/time/stamp.
Here is the input:
#----------------------------------------------------------------------
-rw------- 1 root ... (3 Replies)
Discussion started by: rveri
3 Replies
2. Shell Programming and Scripting
how to print first line of each repeated 2 fields only if i got files like :
USA|Tony|12:25:22:431
USA|John|14:22:42:981
USA|John|08:22:12:349
France|Adam|14:22:42:981
Italy|Tony|18:22:42:212
Italy|Tony|04:22:42:212
Italy|Tony|08:22:42:212
to make output like :
... (9 Replies)
Discussion started by: teefa
9 Replies
3. Shell Programming and Scripting
Hi All!
I need to write a script which reads a file and tries to insert into the DB using those values...
file format:
var1 var2 var3
var4 var5 var6
Now I want to read from the above file and trying to insert like...
insert into table1 values( var1, var2, var3 );
in a loop to... (2 Replies)
Discussion started by: games_icon
2 Replies
4. UNIX for Advanced & Expert Users
Dear All
I have a pattern which look like this :
2 20080226_18:02:09.749 ISC-Libya Egypt-Cairo2 111 IAM 2913258040 218927157966 b 61 REL f 143 RLC :COMMA:NCI=10,FCI=6101,CPC=0A,TMR=00,OFI=80,USI: :COMMB:: :RELCAUSE:15:
2 20080226_18:02:11.629 ISC-Libya Egypt-Cairo2 170 IAM 93572641... (8 Replies)
Discussion started by: zanetti321
8 Replies
5. UNIX for Advanced & Expert Users
I want a Bash Shell Script for taking backup of all files created to day and killing all the Process still active of mine at evening every day (1 Reply)
Discussion started by: vinayraj
1 Replies
6. UNIX for Dummies Questions & Answers
What would be the easiest way to write a script that for example I can run in a directory and:
1. look for files either 110 bytes or 150 bytes
and
2. has *testing* in the file name
If both conditions are met I simply remove them.
I know this may sound easy for most but I really need to... (13 Replies)
Discussion started by: NycUnxer
13 Replies
7. Shell Programming and Scripting
Hello Guys,
I have written the following script to do certain job. I have more than 300 files, all are .pdb & .out files. and the files are (1,3,5,7,11,13,15,17,21,.......787,791,793,795).pdb /.out . But the way I created the for loop in my script works only one file at a time. But that is not... (2 Replies)
Discussion started by: chuchu
2 Replies
8. AIX
Hi guys,
I would like to inform you that I have cleared ....
IBM Certified Specialist - p5 and pSeries Administration and Support for AIX 5L V5.3 with 89%
thanks to you all.
Manu (0 Replies)
Discussion started by: b_manu78
0 Replies
9. UNIX for Dummies Questions & Answers
actually i have important question about unix / linux
i'm working on visuall basic and visuall c++
i heared from someone that i can't open them while i useing unix / linux
is that right?
if yes .......... what's the solution
if no ............. thanks :) :D :D
thanks my friends (1 Reply)
Discussion started by: M_Hafez
1 Replies
10. UNIX for Advanced & Expert Users
HI.
I just accidently wipe out my hard drive when i installed sun solaris, this is the last thing i remember, it ask me if want to delete the partition table, and i said yes" Im a retard" i thought solaris can't see xp partition table. Could anyone help me recover my data back, is it really... (21 Replies)
Discussion started by: souldier
21 Replies
exp(3) Library Functions Manual exp(3)
NAME
exp, expm1, log, log2, log10, log1p, pow - Exponential, logarithm, and power functions
LIBRARY
Math Library (libm.a)
SYNOPSIS
#include <math.h>
double exp (double x); float expf (float x); long double expl (long double x); double expm1 (double x); float expm1f (float
x); long double expm1l (long double x); double log (double x); float logf (float x); long double logl (long double x); double
log2 (double x); float log2f (float x); long double log2l (long double x); double log10 (double x); float log10f (float x); long
double log10l (long double x); double log1p (double y); float log1pf (float y); long double log1pl (long double y); double pow
(double x, double y); float powf (float x, float y); long double powl (long double x, long double y);
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
exp(): XPG4
expm1(): XPG4-UNIX
log(): XPG4
log10(): XPG4
log1p(): XPG4-UNIX
pow(): XPG4
Refer to the standards(5) reference page for more information about industry standards and associated tags.
DESCRIPTION
The exp(), expf(), and expl() functions compute the value of the exponential function, defined as e**x, where e is the constant used as a
base for natural logarithms.
The expm1(), expm1f(), and expm1l() functions compute exp(x) - 1 accurately, even for tiny x.
The log(), logf(), and logl() functions compute the natural (base e) logarithm of x.
The log2(), log2f(), and log2l() functions compute the base 2 logarithm of x.
The log10(), log10f(), and log10l() functions compute the common (base 10) logarithm of x.
The log1p(), log1pf(), and log1pl() functions compute log(1+y) accurately, even for tiny y.
The pow(), powf(), and powl() functions raise a floating-point base x to a floating-point exponent y. The value of pow(x,y) is computed as
e**(y ln(x)) for positive x. If x is 0 or negative, see your language reference manual.
Passing a NaN input value to pow() produces a NaN result for y not equal to 0. For pow(NaN,0), see your language reference manual.
The following table describes function behavior in response to exceptional arguments:
-------------------------------------------------------------------------
Function Exceptional Argument Routine Behavior
-------------------------------------------------------------------------
exp(), expf(), expl() x > ln(max_float) Overflow
exp(), expf(), expl() x < ln(min_float) Underflow
expm1(), expm1f(), expm1l() x > ln(max_float) Overflow
expm1(), expm1f(), expm1l() x < ln(min_float) Underflow
log(), logf(), logl() x < 0 Invalid argument
log(), logf(), logl() x = 0 Overflow
log2(), log2f(), log2l() x < 0 Invalid argument
log2(), logf2(), log2l() x = 0 Overflow
log10(), log10f(), log10l() x < 0 Invalid argument
log10(), log10f(), log10l() x = 0 Overflow
log1p(), log1pf(), log1pl() 1+y < 0 Invalid argument
log1p(), log1pf(), log1pl() 1+y = 0 Overflow
pow(), powf(), powl() y ln(x) > ln(max_float) Overflow
pow(), powf(), powl() y ln(x) < ln(min_float) Underflow
-------------------------------------------------------------------------
The following table lists boundary values used by these functions:
-----------------------------------------------------------------------------
Value Data Hexadecimal Value Decimal Value
Name Type
-----------------------------------------------------------------------------
ln(max_float) S_FLOAT 42B17218 88.7228391
T_FLOAT 40862E42FEFA39EF 709.7827128933840
ln(min_float) S_FLOAT C2CE8ED0 -103.2789
T_FLOAT C0874385446D71C3 -744.4400719213813
-----------------------------------------------------------------------------
delim off
exp(3)