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

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

Re: [shell-script] Shebang


From: Anderson Duarte
Subject: Re: [shell-script] Shebang
Date: Fri, 22 Jan 2010 15:29:29 -0300

Inclusive, mesmo sem os ":" o script irá funcionar.
Criei um arquivo chamado teste com o seguinte conteúdo.

anderson@Netbook:~$ cat teste
echo "vamos ver se isso funciona mesmo"

        find . -name "*.pdf" -print

echo "eita! funciona!"

E entreguei ele ao bash

anderson@Netbook:~$ /bin/bash teste
vamos ver se isso funciona mesmo
./.mozilla/firefox/c5nn6xba.default/extensions/
address@hidden/LICENSE.pdf
./Documentos/unit.pdf
./Documentos/.pdf
./Downloads/Cartaz_Shell_Script.pdf
./Downloads/2008_Otec_Specialtis_Catalog_WEBSITE.pdf
./Downloads/capitulo9788575221525.pdf
eita! funciona!


[As partes desta mensagem que não continham texto foram removidas]



reply via email to

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