I always use Perl for any scripts on solaris that require any tricky
stuff.

You can also snag the source to the linux version of date and try to
compile that.... but I don't see any difference between doing that in
using perl.

On Wed, 9 Feb 2005, Lorin wrote:

> That's only for the fancy-pants linux version of 'date' the classic date
> doesn't have those functions.
>
> -Lkb
>
> --
> If there's anything more important than my ego around, I want it caught
> and shot now.
>                               -- Zaphod Beeblebrox
>
> On Wed, 9 Feb 2005, Glenn Gallien wrote:
>
> > Lorin wrote:
> >
> > > anyone know of an easy way to get the next day's date in  solaris or
> > > bsd in a bash script?
> > >
> > > -Lkb
> > >
> > You can use date with the -v switch.
> >
> > # date -v +1d
> > Thu Feb 10 17:20:49 PST 2005
> >
> > # date -v +1d +%Y-%m-%d
> > 2005-02-10
> > _______________________________________________
> > Bits mailing list
> > [email protected]
> > http://www.sugoi.org/mailman/listinfo/bits
> >
>
> _______________________________________________
> Bits mailing list
> [email protected]
> http://www.sugoi.org/mailman/listinfo/bits
>
_______________________________________________
Bits mailing list
[email protected]
http://www.sugoi.org/mailman/listinfo/bits

Reply via email to