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

Shell Script



Olá, como faço para isto funcionar?

#!/bin/sh
data = "" +%d%m%Y
touch teste.$data

ta dando esse erro

$ sh teste.sh
teste.sh: line 2: unexpected EOF while looking for matching ``'
teste.sh: line 4: syntax error: unexpected end of file

o que eu preciso é uma variável com a data atual.... se souberem, me ajuda mto :D

--

Cordialmente,
Carlos Henrique Júnior
Desenvolvedor / Analista (Web)
(31) 9103-1038
junior@boanoitebh.com
Reply to: