[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Manipular tempo em shell script
From: |
Priscila |
Subject: |
Manipular tempo em shell script |
Date: |
Mon, 13 Feb 2006 16:50:07 -0000 |
User-agent: |
eGroups-EW/0.82 |
Algém sabe se é possível manipular horas (somar,subtrair) usando o
comando date ou algum atifício em shell script?
Exemplo:
Ver quantas horas e minutos faltam da hora atual $(date +%H:%M) até as
18:45 (no formato %H:%M necessariamente).
Estou escrevendo um script e é a única coisa que não consegui
implementar (já procurei no google) .
Obrigada, Priscila.
- Manipular tempo em shell script,
Priscila <=