Zalohovaci script
Martin 'Goran' Moravec
goran na ipp.cas.cz
Středa Leden 3 13:03:08 CET 2001
> Caute mam takyto problem urobil som si script na zalohovanie,
> ktory sa pusta kazdy den zisti si ci je prvy den v mesiaci
> ak je tak vyhodi pasku ak je druhy den tak zacne robit
> novu zalohu a ak je iny den tak pripisuje ku zalohe.
> Potreboval by som nejako spravit aby mi pasku vyhadzoval
> na konci mesiaca, ale ako mam napisat to aby zistil script
> kedy je koniec mesiaca, kedze sa to z mesiaca na mesiac
> meni
stara draci moudrost pravi,
ze po poslednim dni v mesici, vetsinou nasleduje den prvni mesice nasledujiciho,
a jelikoz 'date' ma option -d..........
i draci mlade umi napsat date -d tomorrow.
a podivat se co vyslo
--
--
A novice was trying to fix a broken lisp machine by turning the
power off and on. Knight, seeing what the student was doing spoke sternly,
"You cannot fix a machine by just power-cycling it with no understanding
of what is going wrong." Knight turned the machine off and on. The
machine worked.
-- Just another from of life
Goran
Další informace o konferenci Linux