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 CENTOS
slasq4.f
slasq4.f(3) LAPACK slasq4.f(3)
NAME
slasq4.f -
SYNOPSIS
Functions/Subroutines
subroutine slasq4 (I0, N0, Z, PP, N0IN, DMIN, DMIN1, DMIN2, DN, DN1, DN2, TAU, TTYPE, G)
SLASQ4 computes an approximation to the smallest eigenvalue using values of d from the previous transform. Used by sbdsqr.
Function/Subroutine Documentation
subroutine slasq4 (integerI0, integerN0, real, dimension( * )Z, integerPP, integerN0IN, realDMIN, realDMIN1, realDMIN2, realDN, realDN1,
realDN2, realTAU, integerTTYPE, realG)
SLASQ4 computes an approximation to the smallest eigenvalue using values of d from the previous transform. Used by sbdsqr.
Purpose:
SLASQ4 computes an approximation TAU to the smallest eigenvalue
using values of d from the previous transform.
Parameters:
I0
I0 is INTEGER
First index.
N0
N0 is INTEGER
Last index.
Z
Z is REAL array, dimension ( 4*N )
Z holds the qd array.
PP
PP is INTEGER
PP=0 for ping, PP=1 for pong.
N0IN
N0IN is INTEGER
The value of N0 at start of EIGTEST.
DMIN
DMIN is REAL
Minimum value of d.
DMIN1
DMIN1 is REAL
Minimum value of d, excluding D( N0 ).
DMIN2
DMIN2 is REAL
Minimum value of d, excluding D( N0 ) and D( N0-1 ).
DN
DN is REAL
d(N)
DN1
DN1 is REAL
d(N-1)
DN2
DN2 is REAL
d(N-2)
TAU
TAU is REAL
This is the shift.
TTYPE
TTYPE is INTEGER
Shift type.
G
G is REAL
G is passed as an argument in order to save its value between
calls to SLASQ4.
Author:
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date:
September 2012
Further Details:
CNST1 = 9/16
Definition at line 151 of file slasq4.f.
Author
Generated automatically by Doxygen for LAPACK from the source code.
Version 3.4.2 Tue Sep 25 2012 slasq4.f(3)