Em Sex, 2006-01-06 às 20:33 -0200, Marcelo Luiz de Laia escreveu: > Carlos Júnior ..::.. Boa Noite BH wrote: > > > Olá, como faço para isto funcionar? > > > > #!/bin/sh > > data = `date +%d%m%Y > > touch teste.$data > > Faça assim data=`date +%d%m%Y` -> faltou fechar as aspas, e tire os espaços ou assim data=$(date +%d%m%Y) > > 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 > > > Acho que ele esta reclamando uma linha no final do arquivo. Sera que um > "enter" apos $data nao resolveria? > > Nao sei, é um chute! > > > -- > Marcelo Luiz de Laia > Ph.D Student in Genetics and Plant Breeding > São Paulo State University (http://www.unesp.br/eng/) > School of Agricultural and Veterinary Sciences > Department of Technology > Via de Acesso Prof.Paulo Donato Castellane s/n > 14884-900 Jaboticabal - SP - Brazil > Fone: +55-016-3209-2675 > >
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

