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 maintaine
On Wed, Jul 01, 2009 at 09:27:49AM +0200, Rob Gom 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 release in 2000)
>
> 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
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 aw
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 removal
5 matches
Mail list logo