Dear All,
I'm trying to write a shell script that continously checks a certain folder. When a file is placed in the directory securely copies the file to another server.
I've got the secure copying working, but I don't know how to contiously check a directory for a new file and then use that... (3 Replies)
I have a folder with lots of file. e.g. a.txt, b.txt, c.txt.... I want to put these files from the source directory and place them in a destination directory in a specific order, such as /destination/a/a.txt, /destination/b/b.txt, /destination/c/c.txt, ......
Please help. Thx :confused: (3 Replies)
I have been following a tutorial on bash which has proven to be very helpful. However, i am stuck with a command not found issue when asking for a y/n response from the user. Below is the part of code I believe is giving me grief... I have been trying to work through this for 3 hours now.... Please... (5 Replies)
Hello,
I'm new to Sheel script and I need your help for a script I need to develop (for me).
Indead, I have a software which log all entry from internet and save it in text file.
But, the log is practically unreadable because every 256 characters jump to a new line (even if the message is... (5 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
"Create a shell script that changes the selected word to another word in all files from selected archive. The... (1 Reply)
1. The problem statement, all variables and given/known data:
Arguments:
http://farm9.staticflickr.com/8070/8212131370_8b6e8c10c5_c.jpg
I am given these three arguments. $1, $2, $3
The first argument is the path to a directory.
So, how would I go into the directory and compare files?
I... (5 Replies)
So guys basically I was really sick and couldn't attend the labs and lectures and I went to my lecture hoping he would say ok I will help you from the start but he just said google it. So If it's possible to make the assignment and explain more in detail why is that would be really helpfull.
I can... (1 Reply)
Hi,
can someone explain how this aliases work:
alias m 'if ( \!:$ =~ *gz) set status = 1 && most \!:$ || gzcat \!:1 | most '
I mean, I know what it does, but I don't know how
- what is \!:$ and \!:1
- how do it used the && and ||
- what it does with status variable?
thanks (3 Replies)
Hi everyone, first time visitor to these forums here.
Keeping a long story short I've been attempting to learn how to code in bash. I have VERY little previous experience with coding languages besides simply copying and pasting batch scripts for Windows. So, with that in mind I've followed a... (4 Replies)
Discussion started by: Meta
4 Replies
LEARN ABOUT SUSE
finance::quote::yahoo::usa
Finance::Quote::Yahoo::USA(3) User Contributed Perl Documentation Finance::Quote::Yahoo::USA(3)NAME
Finance::Quote::Yahoo::USA - Obtain information about stocks and funds in the USA and Canada.
SYNOPSIS
use Finance::Quote;
$q = Finance::Quote->new;
%info = $q->fetch("usa","SGI");
DESCRIPTION
This method provides access to financial information from a number of exhcanges in the United States and Canada. The following methods are
available:
canada
usa
yahoo
nyse
nasdaq
vanguard
fidelity
These methods all use the same information source, and hence can be considered somewhat interchangable. However, the method "yahoo" should
be passed to fetch if you wish to obtain information from any source that Yahoo tracks.
This method is loaded by default by Finance::Quote, although it can be explicitly loaded by passing the argument "Yahoo::USA" to
Finance::Quote->new().
Information returned by this module may be subject to Yahoo's terms and conditions. See http://finance.yahoo.com/ for more information.
LABELS RETURNED
This module returns all the standard labels that Yahoo provides, as well as the currency label. See Finance::Quote::Yahoo::Base for more
information.
BUGS
Yahoo does not make a distinction between the various exchanges in the United States and Canada. For example, it is possible to request a
stock using the "NYSE" method and still obtain data even if that stock does not exist on the NYSE but exists on a different exchange.
SEE ALSO
Yahoo Finance, http://finance.yahoo.com/
Finance::Quote::Yahoo::Base
perl v5.12.1 2009-10-05 Finance::Quote::Yahoo::USA(3)