shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

como subtrair isso ?


From: David Mello
Subject: como subtrair isso ?
Date: Tue, 28 Jan 2003 18:28:26 -0200

data=$(date +%Y%d);

isso nao funcionou
let data=$data-1;

ele retorna
let: arith: syntax error: "data=200301-1"

alguma idea ?
PS. desculpa estar enxendo o saco hoje
mas nao to conseguindo terminar esse script


 
... _ . ..._ . _. _.. __.. .. _. ..._ . ..._ . _. _.. __.. .. _. ...
David Mello - Administrador de Redes
 address@hidden
 http://www.bbsiga.com.br
 UIN: 1356939
 Linux User: 138197 - http://counter.li.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]