02-22-2008
Quote:
Originally Posted by
Yogesh Sawant
might get you started
That is a link to a pirated copy of the material. I doubt this forum allows the inconsiderate posting or such links.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
munt=`date '+%m` will isolate the month in digit form 02 = Feb
Trying to get the same out of perl just cant see it
$stimx = localtime($^T);
print ((split/ /,$stimx)); (4 Replies)
Discussion started by: popeye
4 Replies
2. Shell Programming and Scripting
Hi,
I have file: data.log.1
### s1
main.build.3495
main.build.199
main.build.3408
###s2
main.build.3495
main.build.3408
main.build.199
I want to read this file and store in two arrays in Perl.
I have following command, which is working fine on command prompt.
perl -n -e... (1 Reply)
Discussion started by: ashvini
1 Replies
3. Shell Programming and Scripting
Below is my perl script:
#!/usr/bin/perl
open(FILE,"$ARGV") or die "$!";
@DATA = <FILE>;
close FILE;
$join = join("",@DATA);
@array = split( ">",$join);
for($i=0;$i<=scalar(@array);$i++){
system ("/home/bin/./program_name_count_length MULTI_sequence_DATA_FILE -d... (5 Replies)
Discussion started by: patrick87
5 Replies
4. Shell Programming and Scripting
Hello All,
I am trying to come up with a shell script to count a specific word in a logfile on each day of this month, last month and the month before. I need to produce this report and email it to customer.
Any ideas would be appreciated! (5 Replies)
Discussion started by: pnara2
5 Replies
5. Shell Programming and Scripting
In PERL script
I have few files named theme1.htm,theme2.htm,theme3.htm and so on.
now I need to write perl code to split the the filename and store only that particular digit.
Example
--------------
filename is theme1.htm
output should be 1
another example
---------------... (5 Replies)
Discussion started by: giridhar276
5 Replies
6. Shell Programming and Scripting
I had a text file(comma seperated values) which contains as below
196237,ram,25-May-06,ram.kiran@xyz.com,204183,Pavan,4-Jun-07,Pavan.Desai@xyz.com,237107,ram Chandra,15-Mar-10,ram.krishna@xyz.com ... (3 Replies)
Discussion started by: giridhar276
3 Replies
7. Shell Programming and Scripting
I am writing the code in perl.
I have an array in perl and each variable in the array contains the data in the below format
Now I need to check the below variable w.r.t system month I need to store the date and time(Tue Aug 7 03:54:12 2012) from the below data into file if contains only 'Aug'... (5 Replies)
Discussion started by: giridhar276
5 Replies
8. Shell Programming and Scripting
Hello,
i`m looking for some way to add to some date an partial number of months, for example to 2015y 02m 27d + 2,54m
i need to write this script in php or bash or sh or mysql or perl in normal time o unix time
i`m asking or there are any simple way to add partial number of month to some... (14 Replies)
Discussion started by: bacarrdy
14 Replies
9. UNIX for Beginners Questions & Answers
Hi,
I have a directory in Unix and there are folders available in the directory.
Files are created on different month and now i have a requirement to calculate size of the folder on month basis.
Is there any Unix command to check this please??
Thanks (6 Replies)
Discussion started by: Nivas
6 Replies
10. Shell Programming and Scripting
I have a perl script which splits a large file into chunks.The script is given below
use strict;
use warnings;
open (FH, "<monolingual.txt") or die "Could not open source file. $!";
my $i = 0;
while (1) {
my $chunk;
print "process part $i\n";
open(OUT, ">part$i.log") or die "Could... (4 Replies)
Discussion started by: gimley
4 Replies
LEARN ABOUT OPENSOLARIS
ed2k
ED2K(1) aMule utilities ED2K(1)
NAME
ed2k - aMule eD2k link parser
SYNOPSIS
ed2k [-c <path>] [-t <num>] [-e] [-l] <eD2k-link>
ed2k [-h]
ed2k [-v]
DESCRIPTION
Sends the given <eD2k-link> to aMule, i.e. writes it to the file ~/.aMule/ED2KLinks, which will be checked by aMule every second for links.
[ -c <path>, --config-dir=<path> ]
Read config from <path> instead of home
[ -t, --category=<num> ]
Set category for passed eD2k links to <num>
[ -e, --emulecollection ]
Loads all link found in the emulecollection given as <ed2k-link>
[ -l, --list ]
Lists all link found in the emulecollection given as <ed2k-link>
[ -h, --help ]
Prints a short usage description.
[ -v, --version ]
Displays the current version number.
[ eD2k-link ]
Adds an eD2k-link to the core.
The eD2k link to be added can be:
o a file link (ed2k://|file|...), it will be added to the download queue;
o a server link (ed2k://|server|...), it will be added to the server list;
o a serverlist link, in which case all servers in the list will be added to the server list;
o a magnet link;
o an emulecollection file.
The order in which you give the parameters is important. You can give more than one link, and every link can have it's own params. For
example ed2k <link1> -t2 <link2> will download <link1> in standard category and <link2> in category 2.
FILES
~/.aMule/ED2KLinks
REPORTING BUGS
Please report bugs either on our forum (http://forum.amule.org/), or in our bugtracker (http://bugs.amule.org/). Please do not report bugs
in e-mail, neither to our mailing list nor directly to any team member.
COPYRIGHT
aMule and all of its related utilities are distributed under the GNU General Public License.
SEE ALSO
amule(1)
AUTHOR
This manpage was written by Vollstrecker <amule@vollstreckernet.de>
aMule eD2k link parser v1.5.1 November 2011 ED2K(1)