02-02-2011
Any other suggestions Please
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Guys.
I am very new to UNIX.
I need to get yesterdays and tommorows date given todays date.
Which command and syntax do i use in basic UNIX shell.
Thanks. (2 Replies)
Discussion started by: magikminox
2 Replies
2. Shell Programming and Scripting
What i'm trying to do is to use grep to search through a few files for a selected daemon and only report on today's date.
I think I got it sorted apart from in the txt file the date has 2 gaps between the month and the day, and the way I have the date format only puts in one gap any help to get... (3 Replies)
Discussion started by: MBN
3 Replies
3. Linux
Daily one file will dropped into this directory.
Directory: /opt/app/jt/drop
File name: XXXX_<timestamp>.dat.gz
I need to write a script which checks whether the file is dropped daily or not.
Any idea in the script how can we compare timestamp of the file to today's date?? (3 Replies)
Discussion started by: Rajneel
3 Replies
4. Shell Programming and Scripting
Hi
I am very new to shell scripting and have written a script (below).
However the directory I am searching will contain a file with a .trn extension each day which I want to eliminate.
Each day the file extension overnight will change to trx, if this fails I want to know.
Basically what I... (2 Replies)
Discussion started by: richM
2 Replies
5. Shell Programming and Scripting
Hello,
I am quite new to unix/shell and want to write a script using bash which will process the files.
Basically i want to search files having name as "date+hostname+somestring.out"
i am using below variables and then will use them in find command :-
TODAY_DATE=$('date +%d')... (5 Replies)
Discussion started by: apm
5 Replies
6. Shell Programming and Scripting
Hi,
I want to compare today's date(DDMMYYYY) with yesterday(DDMMYYYY) from system date,if (today month = yesterday month) then execute alter query else do nothing.
The above requirement i want in Shell script(KSH)...
Can any one please help me?
Double post, continued here. (0 Replies)
Discussion started by: kumarmsk1331
0 Replies
7. UNIX for Dummies Questions & Answers
Not sure why this is not working. Please advice:
#!/bin/sh
DIR=`date +"%m-%d-%y"`
echo $DIR
] && mkdir $DIR (2 Replies)
Discussion started by: iaav
2 Replies
8. UNIX for Dummies Questions & Answers
I am trying to include a snippet in my script to check if the file created is having today's date.
eg: File name is : ABC.YYYYMMDD-nnn.log
The script should check if 'YYYYMMDD' in the above file name matches with today's date.
Can you please help me in achieving this.
Thanks in advance!! (5 Replies)
Discussion started by: kiran1112
5 Replies
9. Shell Programming and Scripting
hi all,
How to compare two files whether they are same are not...? like i had my input files as 20141201_file.txt and 20141130_file2.txt
how to compare the above files based on date .. like todays file and yesterdays file...? (4 Replies)
Discussion started by: hemanthsaikumar
4 Replies
10. Programming
I have reviewed many examples on-line about running another process (either PERL or shell command or a program), but do not find any usefull for my needs way. (Reviewed and not useful the system(), 'back ticks', exec() and open())
I would like to run another PERL-script from first one, not... (1 Reply)
Discussion started by: alex_5161
1 Replies
LEARN ABOUT CENTOS
voikkospell
VOIKKOSPELL(1) General Commands Manual VOIKKOSPELL(1)
NAME
voikkospell - test program for Voikko spell checker
SYNOPSIS
voikkospell [options]
DESCRIPTION
voikkospell is a test program for spell checking functionality in libvoikko, library of Finnish language tools. It reads words from stdin
(one word on a line) and print them to stdout, adding "C: " in front of correct words and "W: " in front of incorrect words.
Common options of different Voikko test programs are listed in COMMON OPTIONS.
OPTIONS
-m In addition to spelling result, prints morphological analysis info (A:) for recognized words.
-M Prints morphological analysis info (A:) for recognized words without displaying spelling result.
-t Prints only "C" or "W" instead of typical full output.
-tt Prints only misspelled words.
-s Prints suggestions (S:) for incorrectly spelled words.
-cn Set cache size parameter to n. -1 disables the cache and 0 is the default. For checking large amounts of unsorted text you may
want to set n to 5 to get better performance.
-j n Use n threads for spell checking. When more than one thread is used checking is performed using large internal buffers which is why
this mode should only be used for batch processing.
-xc Like voikkospell -s but output is printed on one line separated by character c without "C", "W" or "S" in front of the words. If c
is not defined words are separated by space and suggestions that have spaces in them are not printed.
-l Prints a list of available dictionary variants and exits. The first variant is the default to be used when no specific variant has
been requested.
ignore_nonwords=n
accept_first_uppercase=n
accept_extra_hyphens=n
accept_missing_hyphens=n
ocr_suggestions=n
Set the value of the specified boolean option. n can be either 0 (false) or 1 (true).
COMMON OPTIONS
-p directory
(voikkospell, voikkohyphenate, voikkogc) Look from directory before the standard locations when searching for dictionary files.
-d variant
(voikkospell, voikkohyphenate, voikkogc) Use dictionary variant variant instead of the default dictionary variant. The variant must
be represented as a BCP 47 language tag.
ignore_dot=n
(voikkospell, voikkohyphenate)
ignore_numbers=n
(voikkospell, voikkohyphenate)
Set the value of the specified boolean option. n can be either 0 (false) or 1 (true).
-h, --help
Print a help message and exit.
--version
Print version numbers for libvoikko and the test tool.
AUTHOR
voikkospell and this manual page were written by Harri Pitkanen (hatapitk@iki.fi).
2012-02-27 VOIKKOSPELL(1)