Tema: Re: reikia mazos pamokeles
Autorius: script kiddie
Data: 2008-10-30 17:14:19
dekui

-- 
==
http://www.big-forum.com
==
"Nerijus Kislauskas" <nerijus.kislauskas@ktu.lt> wrote in message 
news:gebo4a$r85$1@trimpas.omnitel.net...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> script kiddie wrote:
>> kaip iterpti pauze i scripta, ir kad reiketu paspaust bele kokia knopke 
>> kad
>> skriptas toliau eitu?
>>
>> pvz
>>
>> komanda1
>> komanda 2
>> komanda3
>>
>> press any key to continye [ciua paspoaudziu bele kokia knopke]
>>
>> komanda4
>> komanda5
>> komadana...6
>>
>>
>
> nerijus@varliukas:~$ ./a.sh
> Vykdau komanda1
> Vykdau komanda 2
> Vykdau komanda3
>
> Press any key to continue:
>
> Vykdau komanda4
> Vykdau komanda5
> Vykdau komanda...6
> nerijus@varliukas:~$
>
>
> a.sh:
> #!/bin/bash
>
> echo "Vykdau komanda1"
> #komanda1
> echo "Vykdau komanda 2"
> #komanda 2
> echo "Vykdau komanda3"
> #komanda3
> echo ""
> echo -n "Press any key to continue: "
> read
> echo ""
> echo "Vykdau komanda4"
> #komanda4
> echo "Vykdau komanda5"
> #komanda5
> echo "Vykdau komanda...6"
> #komanda...6
>
> exit 0;
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkkJY8oACgkQVaDswePJAMWzywCeJkwvxtxjOnbjopS0H/0oY8h2
> KtIAnAs7GrfxqnqiJn4qryPZZPP1mwAo
> =h74r
> -----END PGP SIGNATURE-----