01-13-2015
Thanks for that Carlo. I'm however stuck because echo $sqloutput doesn't return anything except a '>'
Furthermore, I can't seem to get out of that prompt
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how do i display just the first line of a file with the cat command or any command for that matter (4 Replies)
Discussion started by: imuuk
4 Replies
2. Shell Programming and Scripting
Hi all,
Does anyone know how to ammend the .cshrc file in $HOME for your session to display the path as part of the command line? So that I dont need to keep on typing pwd to see where I am?
thanks
Ocelot (2 Replies)
Discussion started by: ocelot
2 Replies
3. UNIX for Dummies Questions & Answers
This is probably the dumbest question you guys can get, but I'm trying, as a complete noob, to display the unix calendar for all the months without Saturday and Sunday showing. How can I remove those fields without having to type all the fields in individually such as:
cal -y | awk '{print $2,... (3 Replies)
Discussion started by: Trellot
3 Replies
4. UNIX for Dummies Questions & Answers
This is a high-level explanation, if more details are needed, please do not hesitate to ask.
I have a set of .ctl files which I want to execute:
AV1.ctl
AV2.ctl
AV3.ctl
I have a script which has a for loop in it:
for filename in AV1 AV2 AV3
do
. execute_another_script.sh
done
... (2 Replies)
Discussion started by: hern14
2 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
Can anyone please let me know the syntax / how to pick up the Return Code ( RC) from the mailx command and return it to SAS uisng 'system()' function and '${?}'.
I am in a process to send the mail automatically with an attachment to bulk users. I have used 'Mailx' and 'Unencode'... (0 Replies)
Discussion started by: manas6
0 Replies
6. Shell Programming and Scripting
I want to instert Category:XXXXX into the 2. line
something like this should work, but I have somewhere the wrong sytanx. something with the linebreak goes wrong:
sed "2i\\${n}Category:$cat\n"
Sample:
Titel Blahh Blahh abllk sdhsd sjdhf
Blahh Blah Blahh
Blahh
Should look like... (2 Replies)
Discussion started by: lowmaster
2 Replies
7. Shell Programming and Scripting
How to do I get the return code of a subroutine in a perl module if invoke the subroutine as standalone,
I have an module say TestExit.pm and in that i have a subroutine say myTest() which is returns 12, if i were to call the subroutine from
command line like
CASE:1 ( Without an explict... (2 Replies)
Discussion started by: ennstate
2 Replies
8. UNIX for Dummies Questions & Answers
Hi
Is there any way GREP command can return word and not complete line.
My file has following data:
Hello Everyone I am NitinrajSrivastava
Hi Friends Welcome VrajSrivastava
I am using grep 'raj' which is returning me complete line.However I want only the word having keyword 'raj'.
Required... (11 Replies)
Discussion started by: dashing201
11 Replies
9. Shell Programming and Scripting
Hi
I am using sed command to make SCORE=somevalue to SCORE=blank in a file.
Please see the attached lastline.txt file. After executing the below command on the file, it removes the last line.
cat lastline.txt | sed 's/SCORE=.*$/SCORE=/g' > newfile.txt
Why does sed command remove the... (3 Replies)
Discussion started by: ashok.k
3 Replies
10. UNIX for Beginners Questions & Answers
Hello,
Can someone please share a Simple AWK command to append Carriage Return & Line Feed to the end of the file, If the Carriage Return & Line Feed does not exist !
Thanks (16 Replies)
Discussion started by: rosebud123
16 Replies
LEARN ABOUT CENTOS
equityoption
EQUITYOPTION(1) General Commands Manual EQUITYOPTION(1)
NAME
EquityOption - Example of using QuantLib to value equity options
SYNOPSIS
EquityOption
DESCRIPTION
EquityOption is an example of using QuantLib.
For a given set of option parameters, it computes the value of three different equity options types (with european, bermudan and american
exercise features) using different valuation algorithms.
The calculation methods are Black-Scholes (for european options only), Barone-Adesi/Whaley (american-only), Bjerksund/Stensland (american),
Integral (european), Finite differences, Binomial Jarrow-Rudd, Binomial Cox-Ross-Rubinstein, Additive equiprobabilities, Binomial Trigeor-
gis, Binomial Tian, Binomial Leisen-Reimer, crude Monte Carlo (european-only) and Sobol-sequence Monte Carlo (european-only).
SEE ALSO
The source code EquityOption.cpp, BermudanSwaption(1), Bonds(1), CallableBonds(1), CDS(1), ConvertibleBonds(1), DiscreteHedging(1), Fitted-
BondCurve(1), FRA(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 25 February 2006 EQUITYOPTION(1)