02-07-2020
To get just the filename you can use ${f##*/} instead of $f (within double quotes)
10 More Discussions You Might Find Interesting
1. Solaris
I'm posting the output from two disks on my Solaris machine. The first part is the output from using the format command and then using the verify option on each disk. The last part is the output from my df -k command. I'm trying to match the partition to the filesystem/mount point. I'm assuming... (13 Replies)
Discussion started by: gonzotonka
13 Replies
2. Shell Programming and Scripting
Writing a simple test script that looks for ssh, kills if its running and verifies if its still running. If it isn't, move on. My issue, its cause I don't know how, is to verify if ssh is running still. Also, is there a way have this do this on a remote server? I already have the ssh keys... (7 Replies)
Discussion started by: djinn
7 Replies
3. Shell Programming and Scripting
how to make a line BLINKING in output and also how to increase font size in output
suppose in run a.sh script
inside echo "hello world "
i want that this should blink in the output and also
the font size of hello world should be big ..
could you please help me out in this (3 Replies)
Discussion started by: mail2sant
3 Replies
4. Shell Programming and Scripting
I have tried thought of using instfix -ivqc | grep BIND , but this did not return the result I was looking for; it seem to list out the the different patches that had been applied to BIND. I'm actually looking for overall version, like you'd get when checking the OS level for instance. (1 Reply)
Discussion started by: sport
1 Replies
5. Shell Programming and Scripting
tail -30 /opt/oracle/rmanbkup/log/db_backup_JONDB.log
input datafile fno=00005 name=+ORA_DATA/jondb/datafile/users.264.696728295
input datafile fno=00003 name=+ORA_DATA/jondb/datafile/sysaux.261.696728281
input datafile fno=00001 name=+ORA_DATA/jondb/datafile/system.259.696728257
input datafile... (6 Replies)
Discussion started by: arch12
6 Replies
6. UNIX for Advanced & Expert Users
Hello Experts,
I have a script that that transfers a file (via sftp) and it works fine but we ran into a snag where the target server asked for the ssh key and the script didn't know what to do. I want to add some logic to this script that at least sends an email that it didn't complete as... (4 Replies)
Discussion started by: Tiberius777
4 Replies
7. Shell Programming and Scripting
I have modified a script to do a circular DNS look up.
The theory is this
for a given subnet build a range if IP's
do a reverse look up on those IP's
take the output of the reverse look up then and do a forward look up
If the returns match up give a good status
If not return a fail... (1 Reply)
Discussion started by: snoman1
1 Replies
8. UNIX for Advanced & Expert Users
Hi Experts,
I have lot of Solaris servers and in most of them, root disk is mirrored in rootdg. I just want to check all servers, if there is any server whose root disk is not mirrored. Either it may be with detached plexes or not mirrored at all. I can run a for loop for all servers. Can... (4 Replies)
Discussion started by: solaris_1977
4 Replies
9. Shell Programming and Scripting
I have 2 files , i need compare both files field by field, and in the fourth field some value will be interchaged and some value will be **.
ex: file1 john|0.0|4|**:25;JP:50;UY:25
file2 john|0.0|4|JP:50;**:25;UY:25 (4 Replies)
Discussion started by: veeruasu
4 Replies
10. Shell Programming and Scripting
i have a script that connects to the oracle database and executes the query statements. it works fine and i would like to add some message to check if the connection to oracle is not successful.
basically this is the code snippet:
#!/bin/sh
...
...
...
sqlplus -s username/password@dbName... (2 Replies)
Discussion started by: wtolentino
2 Replies
LEARN ABOUT REDHAT
pdl::gslsf::gamma
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)