Re: lug-bg: Shell
- Subject: Re: lug-bg: Shell
- From: jimmy@xxxxxxxxxxxxx (Dimitar Jekov)
- Date: Mon, 8 May 2000 16:29:18 +0300
>- Kakav e mehanizma chrez koito shell-ovete razbirat koi script da
izpulniat.
>Izkam da napisha skript koito da zapochne sas
>#!/my_shell
>commands...
>i te da se izpulniat.
Waprosa ne e mnogo tochen. Ako foo zapochwa s #!bar [arg...] i e +x, to pri
puskaneto mu se startira:
bar [arguments] [/dir/]foo
nezawisimo dali bar e shell ili neshto drugo, naprimer ls. Ako si napishesh
scripta i mu slogish +x, toi shte tragne. Ako foo e samo basename, to se
dopulwa do full name.
>V momenta rabotia nad experimentalen "SHELL". Toi si varshi rabotata -
>izpalniava programi, prenasochva STDIN i STDOUT kam failove,
>poddurja PIPES, i to "named pipes" (na komandnia red se ukazva koia
programa
>ot koi Pipe da si prochete informaciata i na koi da si podade izhoda.)
Towa, koeto me uchudwa, e komu e pritriabwal oshte edin shell? Az gi imam 5
li, 6 li, ne znaia tochno... Ako ti e neobhodima nowa funkcionalnost,
wsichkite Linux shells sa sas source code, mogesh prosto da si ia dobawish.
E-gards: Jimmy
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|