Sponsored Content
Operating Systems AIX How to calcuate total number of weeks? Post 302764075 by rayray2013 on Thursday 31st of January 2013 01:33:06 AM
Old 01-31-2013
How to calcuate total number of weeks?

Hi anyone can help?
How to calculate total number of weeks from a specify date, for example, 01 Jan 2012.
Thx!
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

calcuate the week number of a given date

Hi All, can any one help me fix the error in this - i am still a novice in shell programming. I got this code after some googling now the code works with all the dates( as much as i know) except for 08 th and 09th of every month. can any one of you please help me fix this issue? Thanks in... (11 Replies)
Discussion started by: ahmedwaseem2000
11 Replies

2. Shell Programming and Scripting

total number of lines

Hi have following file |abcd 2|abcd |sdfh |sdfj I want to find total number of files haivng nothing in feild 1 using awk will command awk -F "|" '( $1=="") {print NR}' test_awk will work??? (4 Replies)
Discussion started by: mahabunta
4 Replies

3. Shell Programming and Scripting

total number of lines in a file

Hi , How about find the total number of lines in a file ? How can i do that with the "grep" command ? (9 Replies)
Discussion started by: Raynon
9 Replies

4. Shell Programming and Scripting

Appending line number to each line and getting total number of lines

Hello, I need help in appending the line number of each line to the file and also to get the total number of lines. Can somebody please help me. I have a file say: abc def ccc ddd ffff The output should be: Instance1=abc Instance2=def Instance3=ccc Instance4=ddd Instance5=ffff ... (2 Replies)
Discussion started by: chiru_h
2 Replies

5. Shell Programming and Scripting

Help with sum total number of record and total number of record problem asking

Input file SFSQW 5192.56 HNRNPK 611.486 QEQW 1202.15 ASDR 568.627 QWET 6382.11 SFSQW 4386.3 HNRNPK 100 SFSQW 500 Desired output file SFSQW 10078.86 3 QWET 6382.11 1 QEQW 1202.15 1 HNRNPK 711.49 2 ASDR 568.63 1 The way I tried: (2 Replies)
Discussion started by: patrick87
2 Replies

6. HP-UX

Total number of files in a FS

Hello people, On HP-UX B.11.11 U 9000/800 How can I have in aprox. the total number of files in a specific FS? Is the number of used inodes a rough estimation of my total number of files? Server1 /Data:df -i . /Data (/dev/vg_Data/lvol1 ) : 18292960 total i-nodes 15800945 free... (3 Replies)
Discussion started by: drbiloukos
3 Replies

7. Linux

get total number of packages installed?

Hi, Which command would tell me of how many total number packages installed on my Redhat? Thank you, Lam (2 Replies)
Discussion started by: lamoul
2 Replies

8. Shell Programming and Scripting

How to calculate the total number of weeks from a specify year?

Hi anyone can help? How to calculate total number of weeks from a specify date, for example, 01 Jan 2012. Thx! (2 Replies)
Discussion started by: rayray2013
2 Replies

9. Shell Programming and Scripting

Total number of files in the folder should be listed

Hi All, When i give the ls -lrt to list out all files with total number of files , i get the output as ls -lrt total 72 -rw-r--r-- 1 hari staff 796 Jul 11 09:17 va.txt -rw-r--r-- 1 hari staff 169 Jul 13 00:20 a.log -rwxr-xr-x 1 hari staff 659 Aug... (9 Replies)
Discussion started by: Kalaihari
9 Replies

10. Shell Programming and Scripting

Awk: Page number with total number of pages, EG Page 1 of 5

So I've worked how to add page numbers based on regex. It's using the footer text. How do we get the total amount added so we have page number with the total number of pages? Desired output: Page No:1 of 5 Thanks in advance. (15 Replies)
Discussion started by: tugar
15 Replies
img-gif(n)																img-gif(n)

NAME
img-gif - Img, Graphics Interchange Format (gif) SYNOPSIS
package require Tk package require img::gif ?1.3? image create photo ?name? ?options? DESCRIPTION
The package img::gif is a sub-package of Img. It can be loaded as a part of the complete Img support, via package require Img, or on its own, via package require img::gif. Like all packages of Img it does not provide new commands, but extends the existing Tk command image so that it supports files containing raster images in the Graphics Interchange Format (gif). More specifically img::gif extends Tk's photo image type. The name of the new format handler is gif. This handler provides new additional configuration options. See section GIF OPTIONS for more detailed explanations. All of the above means that in a call like image create photo ?name? ?options? [1] Image data in gif format (options -data and -file) is detected automatically. [2] The format name gif is recognized by the option -format. In addition the value for the option is treated as list and may contain any of the special options listed in section GIF OPTIONS. GIF OPTIONS
The handler provides two options, one for reading from a GIF image, the other influencing the writing of such. -index n This option is for reading from GIF files containing more than one image (animated GIF's, GIF movies. When specified it will read the n'th image in the data. The first image is at index 0 and will be read by default, i.e. when the option is not specified. -interlaced bool If the value of this option is set to true the image will be written using the interlaced sub-format of GIF. The default is to write non-interlaced files. This option is not implemented yet. IMAGE COMPRESSION
Instead of LZW the run-length encoding of Hutchison Avenue Software Corporation is used, also known as miGIF compression. The miGIF com- pression routines do not, strictly speaking, generate files conforming to the GIF spec, since the image data is not LZW-compressed (this is the point: in order to avoid transgression of the Unisys patent on the LZW algorithm.) However, miGIF generates data streams that any rea- sonably sane LZW decompresser will decompress to what we want. TRANSPARENCY
If you want to write images to disk which contain transparency information (e.g. GIF89) you need at least Tk 8.3. SEE ALSO
img-bmp, img-gif, img-ico, img-intro, img-jpeg, img-pcx, img-pixmap, img-png, img-ppm, img-ps, img-sgi, img-sun, img-tga, img-tiff, img- window, img-xbm, img-xpm KEYWORDS
gif, image handling, tk COPYRIGHT
Copyright (c) 1995-2003 Jan Nijtmans <nijtmans@users.sourceforge.com> Img 1.3 img-gif(n)
All times are GMT -4. The time now is 06:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy