colegas, vejam este script e tentem correr ele
#!/bin/sh
funcao(){
cat > /tmp/teste << EOF
TESTE
EOF
}
funcao
kndo eu tento correr dá-me o seguinte erro:
teste: line 8: syntax error: unexpected end of file
sinceramente eu n vejo aqui erro algum... vcs tb têm esse erro?!
Um abraço[]