11-17-2011
Pls try with double quotes ..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
If I match a word in a file, I want to pick the next line of that matched word.
My file is a below format-
The ntrag trace has auditError
Line5005 contains transaction Ntrag data
------------
Here I wanted if I match a word auditError, I need to get the next line
"Line5005... (10 Replies)
Discussion started by: Muktesh
10 Replies
2. Shell Programming and Scripting
Alright, I think I know what I am doing with sed(which probably means I don't). But I cant figure out how to replace just the first occurance of a string. I have tried sed, ed, and grep but can't seem to figure it out. If you have any suggestions I am open to anything! (3 Replies)
Discussion started by: IronHorse7
3 Replies
3. Shell Programming and Scripting
I have the following text format in a file which lists the question first and then 5 choices
after that the explanantion and finally the answer.
1.The amount of time it takes for most of a worker’s occupational knowledge and skills to become
obsolete has been declining because of the... (2 Replies)
Discussion started by: nanchil_guy
2 Replies
4. Shell Programming and Scripting
Hello forum,
I need help with a script for displaying the number of instances/times a particular line appears in a tab-delimited file and append that number to the end of the line.
Example text file:
aaa bbb ccc ddd
ggg hhh kkk nnn
aaa bbb ccc ddd
aaa bbb ccc ddd
ppp qqq nnn sss
ggg... (1 Reply)
Discussion started by: jaysean
1 Replies
5. Shell Programming and Scripting
hi everyone,
a
b in
c
d
e
f in
g
output is:
a
e
so awk search for "in", then print out the matched line's previuos line.
Please advice. (11 Replies)
Discussion started by: jimmy_y
11 Replies
6. Shell Programming and Scripting
I have a record like the one given below.
010000306551~IN ~N~ |WINDWARD PK|Alpharetta|
If ~ is present more than instance in a line,then I need to delete those instances.
Any ideas?
I am working in Solaris (7 Replies)
Discussion started by: prasperl
7 Replies
7. Shell Programming and Scripting
I was told a way to do this with awk earlier today but is there a way with sed to specify the last instance of a character on a line?
You will know what character you're looking for but there could be none or one hundred instances of it on a line say and you ONLY want to specify the last one for... (3 Replies)
Discussion started by: Bashingaway
3 Replies
8. Shell Programming and Scripting
Hi Experts,
Help needed on joining one line above & below to the pattern matched string line.
The input file, required output is mentioned below
Input file
ABCD DEFG5 42.0.1-63.38.31
KKKK iokl IP Connection Available
ABCD DEFG5 42.0.1-63.38.31
... (7 Replies)
Discussion started by: krao
7 Replies
9. Shell Programming and Scripting
I Have a text file with several thousand lines of text.
Occasionally there will be a "sysAlive" line of text (every so often)
What would be an awk command to print every line of text, and to put in incrementing counter ONLY on the "sysAlive" lines
For example:
>cat file.txt
lineAAA a b c d... (4 Replies)
Discussion started by: ajp7701
4 Replies
10. Shell Programming and Scripting
Hello,
I have below format log file,
Comparing csv_converted_files/2201/9747.1012H67126.5077292103609547345.csv and csv_converted_files/22019/97447.1012H67126.5077292103609547345.csv
Comparing csv_converted_files/2559/9447.1012H67126.5077292103609547345.csv and... (6 Replies)
Discussion started by: arvindshukla81
6 Replies
LEARN ABOUT REDHAT
pdl::gslsf::hyperg
HYPERG(3) User Contributed Perl Documentation HYPERG(3)
NAME
PDL::GSLSF::HYPERG - 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_hyperg_0F1
Signature: (double x(); double [o]y(); double [o]e(); double c)
/* Hypergeometric function related to Bessel functions 0F1[c,x] = Gamma[c] x^(1/2(1-c)) I_{c-1}(2 Sqrt[x]) Gamma[c] (-x)^(1/2(1-c))
J_{c-1}(2 Sqrt[-x])
gsl_sf_hyperg_1F1
Signature: (double x(); double [o]y(); double [o]e(); double a; double b)
Confluent hypergeometric function for integer parameters. 1F1[a,b,x] = M(a,b,x)
gsl_sf_hyperg_U
Signature: (double x(); double [o]y(); double [o]e(); double a; double b)
Confluent hypergeometric function for integer parameters. U(a,b,x)
gsl_sf_hyperg_2F1
Signature: (double x(); double [o]y(); double [o]e(); double a; double b; double c)
Confluent hypergeometric function for integer parameters. 2F1[a,b,c,x]
gsl_sf_hyperg_2F1_conj
Signature: (double x(); double [o]y(); double [o]e(); double a; double b; double c)
Gauss hypergeometric function 2F1[aR + I aI, aR - I aI, c, x]
gsl_sf_hyperg_2F1_renorm
Signature: (double x(); double [o]y(); double [o]e(); double a; double b; double c)
Renormalized Gauss hypergeometric function 2F1[a,b,c,x] / Gamma[c]
gsl_sf_hyperg_2F1_conj_renorm
Signature: (double x(); double [o]y(); double [o]e(); double a; double b; double c)
Renormalized Gauss hypergeometric function 2F1[aR + I aI, aR - I aI, c, x] / Gamma[c]
gsl_sf_hyperg_2F0
Signature: (double x(); double [o]y(); double [o]e(); double a; double b)
Mysterious hypergeometric function. The series representation is a divergent hypergeometric series. However, for x < 0 we have 2F0(a,b,x) =
(-1/x)^a U(a,1+a-b,-1/x)
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 HYPERG(3)