removido
(usa Nenhuma)
Enviado em 09/04/2009 - 15:30h
Todas as combinaçoes numéricas possÃveis de A á Z!!
teste.sh: line 18: 0=a: command not found
teste.sh: line 19: 1=b: command not found
teste.sh: line 20: 2=c: command not found
teste.sh: line 21: 3=d: command not found
teste.sh: line 22: 4=e: command not found
teste.sh: line 23: 5=f: command not found
teste.sh: line 24: 6=g: command not found
teste.sh: line 25: 7=h: command not found
teste.sh: line 26: 8=i: command not found
teste.sh: line 27: 9=j: command not found
teste.sh: line 28: 10=k: command not found
teste.sh: line 29: 11=l: command not found
teste.sh: line 30: 12=m: command not found
teste.sh: line 31: 13=n: command not found
teste.sh: line 32: 14=o: command not found
teste.sh: line 33: 15=p: command not found
teste.sh: line 34: 16=q: command not found
teste.sh: line 35: 17=r: command not found
teste.sh: line 36: 18=s: command not found
teste.sh: line 37: 19=t: command not found
teste.sh: line 38: 20=u: command not found
teste.sh: line 39: 21=v: command not found
teste.sh: line 40: 22=w: command not found
teste.sh: line 41: 23=x: command not found
teste.sh: line 42: 24=y: command not found
teste.sh: line 43: 25=z: command not found
======================================
os numeros nao estao sendo variaveis
estava pensando em fazer algo mais simples
==================================================================
#!/bin/bash
clear #limpar tudo que tem no terminal
echo "Todas as combinaçoes numéricas possÃveis de A á Z!!" #exibiçao no topo do programa
echo
echo
echo
if [ -e combinações-de-A_Z.txt ]
then
cat > 0 combinações-de-A_Z.txt
else
touch combinações-de-A_Z.txt
fi
for (( n = a ; n <= z ; n++ ))
do
echo $`echo $n` >> combinações-de-A_Z.txt
done
=======================================
mas nao está dando certo tbm, oq esta errado?