07-19-2007
Porter,
Many thanks for your help.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have the below crontab job that it will run at every 7:00am - 10:00am , it work fine , now if I want to skip to run the crontab job at a specific time , eg. I want the script not to run at next Monday 8:00am ( only skip this time , other time is normal ) , how can I make it ? is it possible ?... (3 Replies)
Discussion started by: ust
3 Replies
2. Shell Programming and Scripting
Hi All,
i am trying to automate a process and have to create a unix script like wise. I have a scenario in which i need to automate a file movement. Below are the steps i need to automate.
1. Check whether a file (Not Fixed name-Pattern search of file say 'E*.dat') is present in a... (2 Replies)
Discussion started by: imu
2 Replies
3. UNIX for Dummies Questions & Answers
My shell script runs fine both as a cron job and when i issue it.
However, I wish to differentiate when it runs as a cron-job so the "echo" statements are not issued (they get mailed to me, which i don't want).
I tried checking $USER but since the cron was created in my user that does not... (5 Replies)
Discussion started by: sentinel
5 Replies
4. Shell Programming and Scripting
I have written a simple bash script that will run a wget command to recursively ftp an entire directories and it's contents.
#!/bin/bash
wget -r -N ftp://user:pass@server//VOL1/dir
If I run from the regular command line it works fine.
root@BUSRV: /media/backup1$ ./gwbu
When I put it in... (1 Reply)
Discussion started by: mgmcelwee
1 Replies
5. UNIX for Advanced & Expert Users
Hi, new to this forum and not sure if this is the right place to post. I'm new to cron jobs and scripts, and I need some help with a script to be used with a cron job. I already have a bot set up at a certain website address and need a script that the cron job will load every day that tells it to... (1 Reply)
Discussion started by: klawless
1 Replies
6. Solaris
Hi,
The following shell script runs without any problem when executed manulally.
USED=$(df -h /arch | tail -1 | awk '{print $5}' | cut -d '%' -f 1)
if
then
find /arch/AUBUAT/ -type f -mtime +0 | xargs rm
find /arch/AUBMIG/ -type f -mtime +0 | xargs rm
fi
But the same gives below... (6 Replies)
Discussion started by: ksadiq79
6 Replies
7. Shell Programming and Scripting
How do I run bash script using a cron job?
I have tried to just write the path of the script, but that didn't work. (1 Reply)
Discussion started by: locoroco
1 Replies
8. Shell Programming and Scripting
Hi,
I want my unix script to run as a scheduled job such that the script is invoked once every 15 minutes. Is there any way to achieve this other than running the script as a cron job? (2 Replies)
Discussion started by: vignesh53
2 Replies
9. Shell Programming and Scripting
Team,
Would like to know what is the best script that will send you an email if cronjob did not run.
Thanks (4 Replies)
Discussion started by: kenshinhimura
4 Replies
10. UNIX for Beginners Questions & Answers
Team,
Hope you all are doing fine
I have one admin server which is being used dedicately to run cron jobs on hourly basis, fetching the details from Database which is in a different server.These cronjob are run on every hourly/5 minutes basis depending as per end user requirement.The script... (12 Replies)
Discussion started by: whizkidash
12 Replies
LEARN ABOUT DEBIAN
lingua::stem::fr
Lingua::Stem::Fr(3pm) User Contributed Perl Documentation Lingua::Stem::Fr(3pm)
NAME
Lingua::Stem::Fr - Perl French Stemming
SYNOPSIS
use Lingua::Stem::Fr;
my $stems = Lingua::Stem::Fr::stem({ -words => $word_list_reference,
-locale => 'fr',
-exceptions => $exceptions_hash,
});
my $stem = Lingua::Stem::Fr::stem_word( $word );
DESCRIPTION
This module use the a modified version of the Porter Stemming Algorithm to return a stemmed words.
The algorithm is implemented as described in:
http://snowball.tartarus.org/french/stemmer.html
with some improvement.
The code is carefully crafted to work in conjunction with the Lingua::Stem module by Benjamin Franz. This french version is based too, on
the work of Aldo Calpini (Italian Version)
METHODS
o stem({ -words => @words, -locale => 'fr', -exceptions => \%exceptions }); Stems a list of passed words. Returns an anonymous list
reference to the stemmed words.
Example:
my $stemmed_words = Lingua::Stem::Fr::stem({ -words => @words,
-locale => 'fr',
-exceptions => \%exceptions,
});
o stem_word( $word );
Stems a single word and returns the stem directly.
Example:
my $stem = Lingua::Stem::Fr::stem_word( $word );
o stem_caching({ -level => 0|1|2 });
Sets the level of stem caching.
'0' means 'no caching'. This is the default level.
'1' means 'cache per run'. This caches stemming results during a single
call to 'stem'.
'2' means 'cache indefinitely'. This caches stemming results until
either the process exits or the 'clear_stem_cache' method is called.
o clear_stem_cache;
Clears the cache of stemmed words
HISTORY
0.01 Original version; created by h2xs 1.23 with options
-ACX
-n
Lingua::Stem::Fr
0.02 Minor change in documentation and disable of limitation to perl 5.8.3+
SEE ALSO
You can see the French stemming algorithm from Mr Porter here :
http://snowball.tartarus.org/french/stemmer.html
Another French stemming tool in Perl (French page) :
http://www.univ-nancy2.fr/pers/namer/Telecharger_Flemm.html
AUTHOR
Sebastien Darribere-Pleyt, <sebastien.darribere@lefute.com>
COPYRIGHT AND LICENSE
Copyright (C) 2003 by Aldo Calpini <dada@perl.it>
Copyright (C) 2004 by Sebastien Darribere-Pleyt <sebastien.darribere@lefute.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.3 or,
at your option, any later version of Perl 5 you may have available.
POD ERRORS
Hey! The above document had some coding errors, which are explained below:
Around line 563:
Expected '=item *'
Around line 571:
Expected '=item *'
Around line 583:
Expected '=item *'
perl v5.10.1 2007-10-23 Lingua::Stem::Fr(3pm)