12-05-2006
thanks that's exactly what I needed
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
machine: HPUX
file: a.dat
contents:
decimal 1
decimal 2
string 1
string 2
ASCII value of 'd': 100.
to grep lines that have 'd', I use the following command
grep d a.dat
My requirement:
I should grep for lines that contain 'd'. But I should use ASCII value of 'd' in the command... (1 Reply)
Discussion started by: sriksama
1 Replies
2. Shell Programming and Scripting
Hi...
I have a file abc.txt , havin more then 10,000 lines, each field separated by '#'.
I want to grep 9914699895 and 999 from abc.txt
I am trying
cat abc.txt | grep 9914699895 | grep 999
but i am also getting data like 9991111111 or 9991010101
I want to grep "999" exactly and... (1 Reply)
Discussion started by: tushar_tus
1 Replies
3. Shell Programming and Scripting
this is a little more complex than that. I have a text file and I need to find all the distinct words that appear in a line after the word TABLESPACE
when I grep for just the word tablespace, I get:
how do i parse this a little better so i have a smaller file to read?
This is just an... (4 Replies)
Discussion started by: guessingo
4 Replies
4. Shell Programming and Scripting
Hello,
I have a log file with many lines and I want to grep pcific values from spcific lines, I'm not sure if it is possible or not
Sample
16-11-11 19:54:13:INFO:Connection to device ip 20.10.11.23 took 0
16-11-11 19:54:13:FINE:Sending request.
16-11-11 19:54:13:INFO:Received response from... (3 Replies)
Discussion started by: roby2411
3 Replies
5. UNIX for Dummies Questions & Answers
This
for i in /dev/disco/*;do lvdisplay $i|grep -i size;done
Return me every size of lvm in vg "disco"
I want to return me,the size and the name of lvm,how to do this?
Thanks (7 Replies)
Discussion started by: Linusolaradm1
7 Replies
6. UNIX for Dummies Questions & Answers
I'm new to Unix and I have been trying to fix this problem for the past week.
How would I use grep to display only certain numbers for a list. For example, if I have this list:
Joe senior 4/50
John junior 25/50
Mary junior 41/50
Martha sophomore 2/50
...How do I get a file... (1 Reply)
Discussion started by: PTcharger
1 Replies
7. Shell Programming and Scripting
Hi everyone,
This is an exemple of inpout.txt file (a "," delimited text file which can be open as csv file):
ID, Code, Value, Store SP|01, AABBCDE, 15, 3 SP|01, AABBCDE, 14, 2 SP|01, AABBCDF, 13, 2 SP|01, AABBCDE, 16, 3 SP|02, AABBCED, 15, 2 SP|01, AABBCDF, 12, 3 SP|01, AABBCDD,... (1 Reply)
Discussion started by: jeremy589
1 Replies
8. Emergency UNIX and Linux Support
Hi,
I have the following data that is 3-col, tab separated and looks something like this:
inscription 1 1
ionosphere 0 0
magnate 0 1
majesty 1 0
meritocracy 0 0
monarchy 0 0
monkey 1 0
notepaper 1 1
The first column of the data is an ID, the second column of the data is a prediction... (4 Replies)
Discussion started by: owwow14
4 Replies
FRA(1) General Commands Manual FRA(1)
NAME
FRA - Example of using QuantLib
SYNOPSIS
FRA
DESCRIPTION
FRA is an example of using the QuantLib interest-rate model framework.
FRA values a forward-rate agreement (FRA) at different forward dates under two yield curve assumptions. It thereby illustrates how set up a
term structure, and to use it to price a simple forward-rate agreement.
SEE ALSO
The source code FRA.cpp, BermudanSwaption(1), Bonds(1), CallableBonds(1), CDS(1), ConvertibleBonds(1), DiscreteHedging(1), EquityOption(1),
FittedBondCurve(1), MarketModels(1), Replication(1), Repo(1), SwapValuation(1), the QuantLib documentation and website at
http://quantlib.org.
AUTHORS
The QuantLib Group (see Authors.txt).
This manual page was added by Dirk Eddelbuettel <edd@debian.org>, the Debian GNU/Linux maintainer for QuantLib.
QuantLib 07 Jul 2006 FRA(1)