Hi,
i tried to combine grep with find and it didnt work
grep 'find dirname filename"
i also would like that the file will be sorted in the way.
thanks a lot. (2 Replies)
Hello All. I suspect that this will be a clear noob question, but I haven't been able to figure it out using the usual methods, so I turn to you.
I've written a script to create input files for the quantum chemistry program NWCHEM. Generally you create an input file and then execute it by... (12 Replies)
Hi all!
I am trying to write a script that will check if a certain directory is available at several different nodes and then do stuff in it .....
On the beginning of the script I give as a variable the directory and the number of the nodes and then I loop like this:
for... (3 Replies)
sed -e :a -e 's/<*>//g;/</N;//ba' a2.html -removes html tags
and
sed -i 's/YOURS TRULY/Joe Bob/' a2.html
Replaces a string with another string
can i make it into one string? (2 Replies)
Dear friends,
I am just trying write one script using 2 files
one file will contain details like below
#X SERVER X LOCATION
URL="http://www.abcd.com"
FILENAME="abc.txt"
ID_NAME="myabc_xyz"
SERVER_PATH="/usr/local/dummy/html/....."
#Y SERVER Y LOCATION
URL="http://www.xyz.com"... (10 Replies)
I wish to create an executable bash script that will run the following commands as root, that is, using sudo su
iptables-save | awk '/^
/ { print $1 }
/^:+ / { print $1 " ACCEPT" ; }
/COMMIT/ { print $0; }' | iptables-restoreMy first attempt at bash... (9 Replies)
Hi all, I’ve quick question on bash scripting.
Here is my initial input. This is just an example. The value could be different numbers/ip addresses.
host.txtFinal output should be like this.
output-final.txt
In order to have this, I’ve 2 different scripts.
The first one is just to... (6 Replies)
I have the following sh-script:
konsole -T todo -e vi todo.txt &
konsole -T window1 -e ssh user@server &
konsole -T window2 -e ssh user@server2 -e cd directory &
The first two lines are working fine. The first opens a txt-file, the second opens a ssh-connection.
The third line... (6 Replies)
The purpose of enclosed script is to execute selected command and output success or failure in whiptail msgBox
Works as expected when command returns zero to msgBox.
I cannot figure out how to continue / automate my script when command expects reply to continue / terminate. I am doing it... (2 Replies)
Discussion started by: annacreek
2 Replies
LEARN ABOUT DEBIAN
finance::quote::cdnfundlibrary
Finance::Quote::Cdnfundlibrary(3pm) User Contributed Perl Documentation Finance::Quote::Cdnfundlibrary(3pm)NAME
Finance::Quote::Cdnfundlibrary - Obtain mutual fund prices from www.fundlibrary.com
SYNOPSIS
use Finance::Quote;
$q = Finance::Quote->new;
%stockinfo = $q->fetch("canadamutual","fundlib-code"); # Can
failover to other methods
%stockinfo = $q->fetch("fundlibrary","fundlib-code"); # Use this
module only.
# NOTE: currently no failover methods exist for canadamutual
DESCRIPTION
This module obtains information about Canadian Mutual Fund prices from www.fundlibrary.com. The information source "canadamutual" can be
used if the source of prices is irrelevant, and "fundlibrary" if you specifically want to use www.fundlibrary.com.
FUNDLIB-CODE
In Canada a mutual fund does not have a unique global symbol identifier.
This module uses an id that represents the mutual fund on an id used by www.fundlibrary.com. There is no easy way of fetching the id
except to jump onto the fundlibrary website, look up the fund and view the url for clues to its id number.
LABELS RETURNED
Information available from fundlibrary may include the following labels:
exchange method link source name currency yield last nav price. The link label will be a url location for a one page snapshot that
fundlibrary provides on the fund.
SEE ALSO
Fundlibrary website - http://www.fundlibrary.com/
Finance::Quote
perl v5.14.2 2012-05-06 Finance::Quote::Cdnfundlibrary(3pm)