sto cercando di eseguire questo script di shell per installare RVM in una casella di UbuntuCome usare arricciatura in uno script di shell?
#!/bin/bash
RVMHTTP="https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer"
CURLARGS="-f -s -S -k"
bash < <(curl $CURLARGS $RVMHTTP)
ma ottengo il seguente errore
Syntax error: Redirection unexpected
anche non testati utilizzando le variabili, ma stesso risultato , potresti dire cosa mi manca?
tua domanda è stata già risposto qui: http://stackoverflow.com/questions/5735666/execute-bash-script-from-url – favoretti
ho provato sul mio Mac e ha funzionato bene. Immagino che sia la bash di Ubuntu (che credo sia dash). Potresti voler controllare la pagina man per dash. –
'http: // linux.die.net/man/1/dash' –