03-16-2009
please post in a subforum that has something in common with your problem! i've moved the thread to shell scripting...
welcome to unix.com
DN2
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi, i have a text file wich contains following informations:
1 Record 90 in base GUJA_2008 (Created: 2008-01-14 19:00:38, Modified: 2008-01-15 18:54:33)
1 YADM_20080101_A91645666_A91645666
4 2008/01/15/ADM.ADM/20080101.ADM.ADM.A91645666G001.jff
1 Record 91 in base GUJA_2008 (Created:... (3 Replies)
Discussion started by: trek
3 Replies
2. Shell Programming and Scripting
I have a huge file and every paragraph has a date. But I want to retrieve the paras for the last two days only. So I can grep and findout the linenum for the first line since yesterday. Now I want to display everything after that line. And I am trying to do this inside a script so the linenum is a... (4 Replies)
Discussion started by: kaushys
4 Replies
3. Shell Programming and Scripting
Hi Guys,
Was trying to attempt the below using awk and sed, have no luck so far, so any help would be appreciated.
Current Text File: The first line has got an "\n", and the second line has got spaces/tabs then the word and "\n"
TIME SERVER/CLIENT TEXT... (6 Replies)
Discussion started by: eo29
6 Replies
4. Shell Programming and Scripting
Hi,
I am trying to locate the occurences of certain pattern like 'Possible network disconnect' in a text file. I can get the actual lines matching the pttern using:
grep -w 'Possible network disconnect' file_name.
But I am more interested in getting the timing of these events which are... (7 Replies)
Discussion started by: sagarparadkar
7 Replies
5. Shell Programming and Scripting
I have a file of 1.3 millions lines.
some are with the same word twice on the line, some line have two diffrent words.
each line has two words, one in brackets.
example:
foo (foo)
bar (bar)
thae (awvd)
beladf (vswvw)
I am sure this can be done with one line of... (6 Replies)
Discussion started by: robsonde
6 Replies
6. Shell Programming and Scripting
Hi all I am trying to process some data sample input is like this
VARIABLE : T
axis TDAY
TIME : 02-FEB-2004 17:54
19755.
VARIABLE : quality flag
FILENAME : 1900054_prof.nc
Z : 41
... (3 Replies)
Discussion started by: Akshay Hegde
3 Replies
7. Shell Programming and Scripting
'Hi
I'm using the following code to extract the lines(and redirect them to a txt file) after the pattern match. But the output is inclusive of the line with pattern match.
Which option is to be used to exclude the line containing the pattern?
sed -n '/Conn.*User/,$p' > consumers.txt (11 Replies)
Discussion started by: essem
11 Replies
8. UNIX for Dummies Questions & Answers
Hi all!
Thanks for taking the time to view this!
I want to grep out all lines of a file that starts with pattern 1 but also does not match with the second pattern.
Example:
Drink a soda
Eat a banana
Eat multiple bananas
Drink an apple juice
Eat an apple
Eat multiple apples
I... (8 Replies)
Discussion started by: demmel
8 Replies
9. Shell Programming and Scripting
The intended result should be :
PDF converters
'empty line'
gpdftext and pdftotext?xml version="1.0"?>
xml:space="preserve"><note-content version="0.1" xmlns:/tomboy/link" xmlns:size="http://beatniksoftware.com/tomboy/size">PDF converters
gpdftext and pdftotext</note-content>... (9 Replies)
Discussion started by: Klasform
9 Replies
10. Shell Programming and Scripting
would like to print everything after matching two patterns AAA and BBB.
output :
CCC
ZZZ
sample data :
AAA
BBB
CCC
ZZZ (4 Replies)
Discussion started by: jhonnyrip
4 Replies
LEARN ABOUT DEBIAN
dlasq3.f
dlasq3.f(3) LAPACK dlasq3.f(3)
NAME
dlasq3.f -
SYNOPSIS
Functions/Subroutines
subroutine dlasq3 (I0, N0, Z, PP, DMIN, SIGMA, DESIG, QMAX, NFAIL, ITER, NDIV, IEEE, TTYPE, DMIN1, DMIN2, DN, DN1, DN2, G, TAU)
DLASQ3
Function/Subroutine Documentation
subroutine dlasq3 (integerI0, integerN0, double precision, dimension( * )Z, integerPP, double precisionDMIN, double precisionSIGMA, double
precisionDESIG, double precisionQMAX, integerNFAIL, integerITER, integerNDIV, logicalIEEE, integerTTYPE, double precisionDMIN1, double
precisionDMIN2, double precisionDN, double precisionDN1, double precisionDN2, double precisionG, double precisionTAU)
DLASQ3
Purpose:
DLASQ3 checks for deflation, computes a shift (TAU) and calls dqds.
In case of failure it changes shifts, and tries again until output
is positive.
Parameters:
I0
I0 is INTEGER
First index.
N0
N0 is INTEGER
Last index.
Z
Z is DOUBLE PRECISION array, dimension ( 4*N )
Z holds the qd array.
PP
PP is INTEGER
PP=0 for ping, PP=1 for pong.
PP=2 indicates that flipping was applied to the Z array
and that the initial tests for deflation should not be
performed.
DMIN
DMIN is DOUBLE PRECISION
Minimum value of d.
SIGMA
SIGMA is DOUBLE PRECISION
Sum of shifts used in current segment.
DESIG
DESIG is DOUBLE PRECISION
Lower order part of SIGMA
QMAX
QMAX is DOUBLE PRECISION
Maximum value of q.
NFAIL
NFAIL is INTEGER
Number of times shift was too big.
ITER
ITER is INTEGER
Number of iterations.
NDIV
NDIV is INTEGER
Number of divisions.
IEEE
IEEE is LOGICAL
Flag for IEEE or non IEEE arithmetic (passed to DLASQ5).
TTYPE
TTYPE is INTEGER
Shift type.
DMIN1
DMIN1 is DOUBLE PRECISION
DMIN2
DMIN2 is DOUBLE PRECISION
DN
DN is DOUBLE PRECISION
DN1
DN1 is DOUBLE PRECISION
DN2
DN2 is DOUBLE PRECISION
G
G is DOUBLE PRECISION
TAU
TAU is DOUBLE PRECISION
These are passed as arguments in order to save their values
between calls to DLASQ3.
Author:
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date:
April 2012
Definition at line 181 of file dlasq3.f.
Author
Generated automatically by Doxygen for LAPACK from the source code.
Version 3.4.1 Sun May 26 2013 dlasq3.f(3)