slackware senza bash
Inviato: dom 10 gen 2016, 20:48
Tutti gli script di slackware puntano a /bin/sh il quale è un link a bash
If bash is invoked with the name sh, it tries to mimic the startup behavior of historical versions of sh as closely as possible,
while conforming to the POSIX standard as well.
Ma in verità non è vero.
Conosco bene la bourne shell perchè lavoro con server solaris in cui la bash ce la devi mettere a parte se la vuoi.
slackware:
solaris
perchè in sh la sintassi $() non esiste.
Così come non esiste che funzionano le freccette per riprendere i comandi precedenti, che invece sh su slackware fa.
se compilo la bourne shell, secondo voi slackware boota?
If bash is invoked with the name sh, it tries to mimic the startup behavior of historical versions of sh as closely as possible,
while conforming to the POSIX standard as well.
Ma in verità non è vero.
Conosco bene la bourne shell perchè lavoro con server solaris in cui la bash ce la devi mettere a parte se la vuoi.
slackware:
Codice: Seleziona tutto
# /bin/sh
# echo $(echo ciao)
ciaoCodice: Seleziona tutto
$ /bin/sh
$ echo $(echo ciao)
syntax error: `(' unexpectedCosì come non esiste che funzionano le freccette per riprendere i comandi precedenti, che invece sh su slackware fa.
se compilo la bourne shell, secondo voi slackware boota?