Does anyone know what the microprograms behind cat (and other commands) are like? In what language are those programs designed? Is their source available somewhere?
No particular reason, just wondering.
I know it's a bit strange... (3 Replies)
hi all
i have some script
echo $$ > process-id
d='cat process-id'
if test-s "TMP"$d then
echo "serv1"
else
echo "serv2"
fi
the variable d should contain the number of the process,
instead of that it contains 'cat process-id'
how shall i do that the d will contain only the number?... (6 Replies)
Hello,
So I sorted my file as I was supposed to:
sort -n -r -k 2 -k 1 file1 | uniq > file2
and when I wrote
> cat file2
in the command line, I got what I was expecting, but in the script itself
...
sort -n -r -k 2 -k 1 averages | uniq > temp
cat file2
It wrote a whole... (21 Replies)
Hello,
I am trying to send text to a USB to serial adaptor and then to an external speech synthesizer. I tried using the cat and echo commands with no luck. I have gotten some audio output from my synthesizer using Kermit a terminal emulator, so I am pretty sure my synthesizer and my USB to serial... (1 Reply)
I am having problems getting a list of filenames that I want from a directory.
example: I have 3 files - filename.xxx.20110505.123030
filename.yyy.20110505.123030
filename.zzz.20110505.123030
There may be multiple xxx,... (3 Replies)
Can any one guide me how can i accomplish this by script
i continuously receive files via our ftp server into a certain folder is there a way i can take those files cat it to a new file by hour and create a new file when new hour starts? (4 Replies)
Can we concatenate say,
I have a few files prefixing with 2009...
So now i want all the 2009 files into one single file..
Can this be achieved???? (4 Replies)
hello! why this works?
cd /home/user
cat * | ecasound -i stdin -o jack
and this doesn't?
cd /home/user/somedirectory
cat * | ecasound -i stdin -o jack
somedirectory are full with exe files which are the best source for this sort of noise thing (10 Replies)
Apologies, probably a really simple problem:
I've got a text file (nh.txt) with this in it:
user1 email1 email2
user2 email1 email2
etc
With the following basic script:
for tline in $(cat nh.txt)
do
echo "**********"
echo $tline
done
... (3 Replies)
For the command below, I need to understand what exactly the command does and provide an examples for which the output will be saved to file save2... From my understanding, if the file provides an error in the first half of the pipe, it'll save to save1 and will never give an error to save to... (2 Replies)
Discussion started by: ayz649
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)