12-24-2012
10 More Discussions You Might Find Interesting
1. Programming
I'm making a program that you input the month and year, and it creates a calender for that month of that year. This is my largest project yet, and I broke it up into several source files.
cal.c
#include "cal.h"
#include <stdio.h>
main() {
int month, year;
scanf("%d %d", &month,... (3 Replies)
Discussion started by: Octal
3 Replies
2. Shell Programming and Scripting
Hi,
I have script in unix which creates a julian date like 126 or 127
I want convert this julian date into calender date
ex : input 127
output 07/may/2007 or 07/05/2007 or 07/05/07
rgds
srikanth (6 Replies)
Discussion started by: srikanthus2002
6 Replies
3. Shell Programming and Scripting
Hi, i;m beginner of Unix, i trying to use crontab to zip my log file automatically, below is my coding, some of the statement i don't know whether is correct or not. Pls help:)
year=`date '+%Y'`
month=`date '+%m'`
day=`date '+%d'`
day=`expr $day - 1`
case $month in
1 | 3 | 5 | 7 | 8 | 9 |... (4 Replies)
Discussion started by: dannyd_y
4 Replies
4. Fedora
I try to find the first day of our calender. So I used this script ...
echo -n "The week of the date 01jan0001 : "
echo -n `date -d 00010101 +%A`
echo
But its shows error
bash-3.1$ sh first_day.shThe week of the date 01jan0001 : date: invalid date `00010101' (3 Replies)
Discussion started by: krishnampkkm
3 Replies
5. Shell Programming and Scripting
Hi
I am trying to schedule a job through Autosys through UNIX on a particular day of every month (for example 20th of every month). Can some one please help me whats the command or whats the process to run on that particular day of month.
Thank you, (2 Replies)
Discussion started by: sravuri
2 Replies
6. Shell Programming and Scripting
Hi All,
Sample records
2157 91128 -rw-r----- 1 arun1 staff 93315072 Aug 23 06:44 /home/arun/my own/file_name.txt
2157 91128 -rw-r----- 1 arun1 staff 93315072 Aug 23 06:44 /home/arun/myown/file name2.txt
i want to print only user name, user group, size, date time stamp, and... (5 Replies)
Discussion started by: Arunprasad
5 Replies
7. UNIX and Linux Applications
We are running in a Linux/Samba environment. Can anyone suggest calendar/docket software that will run in our environment? (0 Replies)
Discussion started by: kbweiss
0 Replies
8. Shell Programming and Scripting
Friends need assistance in getting a script either on shell or perl. Below is the situation
Taking Today's calender into consideration with Month,Day,Year current .Using that i would like give number of days to get its month,day,year for future or past calender depending on the + or - days... (8 Replies)
Discussion started by: ajayram_arya
8 Replies
9. Shell Programming and Scripting
I have CGI Perl script that contains date column and date popup will be displayed from inline calender.
I had a html script for the same and converted the same to CGI script.
html page worked fine but no luck with CGI script.
Could anyone please look into the below script and let me know... (1 Reply)
Discussion started by: scriptscript
1 Replies
10. Shell Programming and Scripting
Hi,
I am running a script sample.sh in bash environment .In the script i am using sed and awk commands which when executed individually from terminal they are getting executed normally but when i give these sed and awk commands in the script it is giving the below errors :-
./sample.sh: line... (12 Replies)
Discussion started by: satishmallidi
12 Replies
LEARN ABOUT SUSE
wmgrabimage
WMGRABIMGAE(1) General Commands Manual WMGRABIMGAE(1)
NAME
WMGRABIMGAE - Dockable WWW Image monitor.
SYNOPSIS
wmGrabImage [-h] [-display <Display>] -url <Image URL> [-http <URL>] [-c] [-delay <Time>]
DESCRIPTION
wmGrabImage is a WindowMaker DockApp that maintains a small thumbnail copy of your favorite image from the WWW. The image to monitor is
specified via the "-url <Image URL>" command-line option and it gets updated approximately every 5 minutes. The update interval can be
overridden via the "-delay <Time>" command-line option (Time is in seconds).
Each of the three mouse buttons can be double clicked with the following effects;
Left Mouse:
Brings up the full-sized image in xv.
Middle Mouse:
Sends a URL (specified via the -http <URL> command-line option) to an already running netscape process or in a new netscape process
if there arent any running.
Right Mouse:
Updates the image immediately.
OPTIONS
-h Display list of command-line options.
-display [display]
Use an alternate X Display.
-url <Image URL>
The URL of the WWW image to monitor.
-http <URL>
The URL to send to netscape via a Middle double click.
-c Center the image vertically within the icon.
-delay <Time>
The time between updates. The default is about 5 minutes.
FILES
The original sized image and the thumbnail XPM image are both stored in ~/.wmGrabImage/ which gets created if it doesnt already exist.
SEE ALSO
wget and the ImageMagick convert utility.
BUGS
Who knows? -- its still Beta though. (Let me know if you find any). Oldish versions of the ImageMagick convert utility have a memory leak
-- if you have that problem, upgrade to the latest version.
AUTHOR
Michael G. Henderson <mghenderson@lanl.gov>
16 December 1998 WMGRABIMGAE(1)