06-24-2008
It works. Excellent
I just don't have an idea of how to write something like you do.
Thanks a lot !
Last edited by skully; 06-24-2008 at 06:55 AM..
Reason: forgot to include Excellent
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am currently running the following Korn shell script which works fine:
#!/usr/bin/ksh
count=`db2 -x "select count(*) from schema.tablename"`
echo "count"
I would like to add a "where" clause to the 2nd line that would allow me to get a record count of all the records from schema.tablename... (9 Replies)
Discussion started by: sasaliasim
9 Replies
2. Shell Programming and Scripting
Dear All,
Actually, i'm doing some reporting job and i need to pass yesterday's date in Year-Month-Day format(e.g. 2009-06-10) to another program for generating 2009-06-10 report.
to get today's date, it's easy to just date '+%Y%m%d' , but no idea how can i get this kind of format for... (2 Replies)
Discussion started by: tiger2000
2 Replies
3. Shell Programming and Scripting
Hi All,
I need to run a job every month at the beginning of the month which is scheduled through autosys, lets say on 03/01/2010. I need to pass the last month's i.e February's first_date = 02/01/2010 and last_date = 02/28/2010 as variables to a stored procedure. Can somebody please pass... (2 Replies)
Discussion started by: vigdmab
2 Replies
4. 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
5. Shell Programming and Scripting
Hello,
I have a file like this:
2012112920121130
12345620121130msABowwiqiq
34477420121129amABamauee
e7748420121130ehABeheheei
in case the content of the file has the date of yesterday within the lines containing pattern AB this should be replaced by the current date. But if I use... (3 Replies)
Discussion started by: Lilu_CK
3 Replies
6. Shell Programming and Scripting
Hi
I want to get tomorrow and yesterday date from date command. My shell is KSH and server is AIX. I tried several options, but unable to do. Please help on this.
Regards
Rajesh (5 Replies)
Discussion started by: rajeshmepco
5 Replies
7. Shell Programming and Scripting
I have requirment to get last date of previous month and the first date of previous 4th month:
Example:
Current date: 20130320 (yyyymmdd)
Last date of previous month: 20130228 (yyyymmdd)
First date of previous 4th month: 20121101 (yyyymmdd)
In my shell --date, -d, -v switches are not... (3 Replies)
Discussion started by: machomaddy
3 Replies
8. Shell Programming and Scripting
Hello,
I'd like to write a monthly archive script that archives some logs. But I'd like to do it based on yesterday's date. In other words, I'd like to schedule the script to run on the 1st day of each month, but have the archive filename include the previous month instead.
Here's what I... (5 Replies)
Discussion started by: nbsparks
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. UNIX for Beginners Questions & Answers
Hi,
I am trying to add few (say 3 days) to sysdate using -
date -d '+ 3 days' +%y%m%d
and it works as expected.
But how to add few (say 3 days) to a literal date value and how bash treats a literal value as a date. Can we say just like in ORACLE TO_DATE that my given literal date value... (2 Replies)
Discussion started by: pointers1234
2 Replies
LEARN ABOUT DEBIAN
imager::largesamples
Imager::LargeSamples(3pm) User Contributed Perl Documentation Imager::LargeSamples(3pm)
NAME
Imager::LargeSamples - track/document large sample support
SYNOPSIS
# make a large sample image
my $im = Imager->new(..., bits => 16);
# call some method
my $result = $im->$method(...);
# was the image modified at its full sample size
DESCRIPTION
Imager has had in-memory support for large samples for years now, but many methods still don't work at the higher sample size when supplied
with a large sample image.
This document will track which methods support large samples and which don't, for future improvements.
Support by method
Method Support Notes
------ ------- -----
arc Partial [1]
box Partial [2]
circle Partial [1]
convert Full
copy Full
crop Full
difference Full
filter Partial Depends on the filter.
flip Full
flood_fill Partial [1]
getpixel Full
getsamples Full
getscanline Full
map None
masked Full
matrix_transform
Full
paste Full
polygon Partial [1]
polyline None
read Partial See L<File format large sample support>
read_multi Partial See L<File format large sample support>
rotate Full
rubthrough Full
scale Partial Some qtypes support large samples
scaleX None
scaleY None
setpixel Full
setscanline Full
string Full Preserves large samples, but most font drivers
generate 8 or fewer bits of levels of coverage.
transform None
transform2 None
write Partial See L<File format large sample support>
write_multi Partial See L<File format large sample support>
[1] filling an area using the fill parameter works at the full depth of the image, using filled => 1 and color works at 8-bits/sample
[2] box() will fill the area at the supplied color, but outline at 8-bits/sample.
File format large sample support
Format Format samples Imager support
------ -------------- --------------
BMP 8 8
GIF 8 8
ICO 8 8
JPEG 8, 12 8
PBM 1 1
PGM/PPM 1-16 read any, writes 8, 16
PNG 1, 2, 4, 8, 16 8
RAW 8
SGI 8, 16 8, 16
TGA 8 8
TIFF (many) read/write 8, 16, 32 contig rgb/grey images
read/write bi-level
read/write 4/8 paletted images
Filter larger sample support
Filter Large sample support
------ --------------------
autolevels No
bumpmap No
bumpmap_complex No
contrast No
conv Yes
fountain Yes
gaussian Yes
gradgen No
hardinvert Yes
mosaic No
postlevels No
radnoise No
turbnoise No
unsharpmask Yes
watermark No
AUTHOR
Tony Cook <tonyc@cpan.org>
perl v5.14.2 2011-06-06 Imager::LargeSamples(3pm)