10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a file which contains entries in this format.
my-bin.000140
my-bin.000141
my-bin.000142
my-bin.000143
my-bin.000144
my-bin.000145
my-bin.000146
my-bin.000147
my-bin.000148
my-bin.000149
my-bin.000150
my-bin.000151
my-bin.000152
my-bin.000153
my-bin.000154... (2 Replies)
Discussion started by: arijitsaha
2 Replies
2. Shell Programming and Scripting
Hello Community,
sorry iam from germany and my englisch is not so well.
iam searching for less then 4 hours on the web for a solution of my problem.
i have a proxy-log-file and want to delete lines wicht matches on two words.
example of the line in the logfile:
now i want to delet... (3 Replies)
Discussion started by: matze
3 Replies
3. Shell Programming and Scripting
Hello,
This is my first post. Nice forum!
I have a file trls.results
small exemple of content (actually the file can be very big):
./security/htaccess.htm ./security/ipcount.log ./adhoc/sql/datamod06.sql
So there is 3 paths to 3 different files... I want to remove every string that has a... (9 Replies)
Discussion started by: Jacob106106
9 Replies
4. UNIX for Dummies Questions & Answers
In our shop, we have a situation where a log file from our interface engine software has begun maxing out in file size (reaching the 32-bit "2147483647" limit). Currently, the only way to rectify this is to stop the interface and restart it, which generates a new log. Easy enough, but the... (6 Replies)
Discussion started by: rjhjr64
6 Replies
5. Shell Programming and Scripting
If a log file is in the following format
28-Jul-10 ::: Log message
28-Jul-10 ::: Log message
29-Jul-10 ::: Log message
30-Jul-10 ::: Log message
31-Jul-10 ::: Log message
31-Jul-10 ::: Log message
1-Aug-10 ::: Log message
1-Aug-10 ::: Log message
2-Aug-10 ::: Log message
2-Aug-10 :::... (3 Replies)
Discussion started by: vikram3.r
3 Replies
6. Shell Programming and Scripting
Hi,
i need a script, which deletes doulbe items in a file.
My file looks like:
-
-
-
xxx
xxx
G123
G234
G234
G234
o
o
...
First i want to sort the file an then i want to delete double items.
Can anyone help me. I work under solaris10. (3 Replies)
Discussion started by: free2k
3 Replies
7. Shell Programming and Scripting
Hi All,
I have a big log file i want to delete all characters (between 350th to 450th characters) starting at 350th character position to 450th character position.
please advice or sample code. (6 Replies)
Discussion started by: rajeshorpu
6 Replies
8. Shell Programming and Scripting
Is there an easy way to delete the first so many lines in a log file?
like I have a log file that has 10000 lines, i want to just get rid of the first 9000. (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
9. Shell Programming and Scripting
Hi,
I am having almost the same problem as junior member 'oupsforum' (refer to subjuct "deleting double entry in a log file"), only that I am using Sun Sorlaris Unix which the uniq command does not has the flag -w. So I am not able to ignore certain portion of the line when the uniq doing the... (3 Replies)
Discussion started by: Wing m. Cheng
3 Replies
10. UNIX for Advanced & Expert Users
Hi:-
Will there be any difference in Solair 2.6 if I delete /var/cron/log file to free up some space.
Thanks in advance (5 Replies)
Discussion started by: s_aamir
5 Replies
GAMMA(3) User Contributed Perl Documentation GAMMA(3)
NAME
PDL::GSLSF::GAMMA - PDL interface to GSL Special Functions
DESCRIPTION
This is an interface to the Special Function package present in the GNU Scientific Library.
SYNOPSIS
Functions
FUNCTIONS
gsl_sf_lngamma
Signature: (double x(); double [o]y(); double [o]s(); double [o]e())
Log[Gamma(x)], x not a negative integer Uses real Lanczos method. Determines the sign of Gamma[x] as well as Log[|Gamma[x]|] for x < 0. So
Gamma[x] = sgn * Exp[result_lg].
gsl_sf_gamma
Signature: (double x(); double [o]y(); double [o]e())
Gamma(x), x not a negative integer
gsl_sf_gammastar
Signature: (double x(); double [o]y(); double [o]e())
Regulated Gamma Function, x > 0 Gamma^*(x) = Gamma(x)/(Sqrt[2Pi] x^(x-1/2) exp(-x)) = (1 + 1/(12x) + ...), x->Inf
gsl_sf_gammainv
Signature: (double x(); double [o]y(); double [o]e())
1/Gamma(x)
gsl_sf_lngamma_complex
Signature: (double zr(); double zi(); double [o]x(); double [o]y(); double [o]xe(); double [o]ye())
Log[Gamma(z)] for z complex, z not a negative integer. Calculates: lnr = log|Gamma(z)|, arg = arg(Gamma(z)) in (-Pi, Pi]
gsl_sf_taylorcoeff
Signature: (double x(); double [o]y(); double [o]e(); int n)
x^n / n!
gsl_sf_fact
Signature: (x(); double [o]y(); double [o]e())
n!
gsl_sf_doublefact
Signature: (x(); double [o]y(); double [o]e())
n!! = n(n-2)(n-4)
gsl_sf_lnfact
Signature: (x(); double [o]y(); double [o]e())
ln n!
gsl_sf_lndoublefact
Signature: (x(); double [o]y(); double [o]e())
ln n!!
gsl_sf_lnchoose
Signature: (n(); m(); double [o]y(); double [o]e())
log(n choose m)
gsl_sf_choose
Signature: (n(); m(); double [o]y(); double [o]e())
n choose m
gsl_sf_lnpoch
Signature: (double x(); double [o]y(); double [o]s(); double [o]e(); double a)
Logarithm of Pochammer (Apell) symbol, with sign information. result = log( |(a)_x| ), sgn = sgn( (a)_x ) where (a)_x := Gamma[a +
x]/Gamma[a]
gsl_sf_poch
Signature: (double x(); double [o]y(); double [o]e(); double a)
Pochammer (Apell) symbol (a)_x := Gamma[a + x]/Gamma[x]
gsl_sf_pochrel
Signature: (double x(); double [o]y(); double [o]e(); double a)
Relative Pochammer (Apell) symbol ((a,x) - 1)/x where (a,x) = (a)_x := Gamma[a + x]/Gamma[a]
gsl_sf_gamma_inc_Q
Signature: (double x(); double [o]y(); double [o]e(); double a)
Normalized Incomplete Gamma Function Q(a,x) = 1/Gamma(a) Integral[ t^(a-1) e^(-t), {t,x,Infinity} ]
gsl_sf_gamma_inc_P
Signature: (double x(); double [o]y(); double [o]e(); double a)
Complementary Normalized Incomplete Gamma Function P(a,x) = 1/Gamma(a) Integral[ t^(a-1) e^(-t), {t,0,x} ]
gsl_sf_lnbeta
Signature: (double a(); double b(); double [o]y(); double [o]e())
Logarithm of Beta Function Log[B(a,b)]
gsl_sf_beta
Signature: (double a(); double b();double [o]y(); double [o]e())
Beta Function B(a,b)
AUTHOR
This file copyright (C) 1999 Christian Pellegrin <chri@infis.univ.trieste.it> All rights reserved. There is no warranty. You are allowed to
redistribute this software / documentation under certain conditions. For details, see the file COPYING in the PDL distribution. If this
file is separated from the PDL distribution, the copyright notice should be included in the file.
The GSL SF modules were written by G. Jungman.
perl v5.8.0 2003-01-29 GAMMA(3)