Re: [semi-OT] crontab -> csv
Am Freitag, 1. März 2002 20:30 schrieb Heiko Schlittermann:
> On Thu, Feb 28, 2002 at 10:45:02PM +0100, Stefan Klein wrote:
> > Hallo,
> >
> > ich bin auf der Suche nach einem (Perl-)script welches mir aus
> > einem Crontabeintrag z.B.:
> >
> > 2,4 0,15 * * * root /bin/hier
> >
> >
> > 2;0;*;*;*;root;/bin/hier
> > 2;15;*;*;*;root;/bin/hier
> > 4;0;*;*;*;root;/bin/hier
> > 4;15;*;*;*;root;/bin/hier
>
> perl -ne 'print join ";", split " ", $_, 7'
Das ist der einfache Teil, das "vervielfältigen" der Zeile ist ein
bischen aufwendiger. Ich hab es aber gelöst, hab nur in die falsche
Richtung gedacht.
Gruß,
--
Stefan
rm -rf :
remote mail, real fast.
Reply to: