Number of working days in given month

2009-07-01 Thread Rob Gom
Hi there, do you know any command line tool which would be able to display number of working days in given month in given country? I have found gcal, which suits my needs, but is barely maintained (last release in 2000) and I'm afraid about its possible removal (currently maintained in Debian

Re: Number of working days in given month

2009-07-01 Thread Ron Johnson
On 2009-07-01 02:27, Rob Gom wrote: Hi there, do you know any command line tool which would be able to display number of working days in given month in given country? I have found gcal, which suits my needs, but is barely maintained (last release in 2000) and I'm afraid about its possible

Fwd: Number of working days in given month

2009-07-01 Thread Rob Gom
[CC to list] -- Forwarded message -- From: Rob Gom rgom.deb...@gmail.com Date: Wed, Jul 1, 2009 at 12:45 PM Subject: Re: Number of working days in given month To: Ron Johnson ron.l.john...@cox.net I'd write a little $SCRIPTING_LANGUAGE program to count the number of weekend

Re: Number of working days in given month

2009-07-01 Thread Todd A. Jacobs
On Wed, Jul 01, 2009 at 09:27:49AM +0200, Rob Gom wrote: Hi there, do you know any command line tool which would be able to display number of working days in given month in given country? I have The shell is your friend. If your needs are simple, this will do: cal | FIELDWIDTHS=2 awk

Re: Number of working days in given month

2009-07-01 Thread Rob Gom
The shell is your friend. If your needs are simple, this will do:    cal |    FIELDWIDTHS=2 awk 'NR = 2 {next}; {print $2, $3, $4, $5, $6}' |    wc -w Just replace the arguments to print with the days of the week you care about. Thanks, that would do it, unless I'm looking for holidays

Re: Number of working days in given month

2009-07-01 Thread Daniel Burrows
On Wed, Jul 01, 2009 at 09:27:49AM +0200, Rob Gom rgom.deb...@gmail.com was heard to say: Hi there, do you know any command line tool which would be able to display number of working days in given month in given country? I have found gcal, which suits my needs, but is barely maintained (last

Re: Number of working days in given month

2009-07-01 Thread mike
Rob Gom wrote: Hi there, do you know any command line tool which would be able to display number of working days in given month in given country? I have found gcal, which suits my needs, but is barely maintained (last release in 2000) and I'm afraid about its possible removal (currently