Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> might fail half-way through the file

Oh, while transferring!

  ssh -t [email protected] bash <( echo "function do_it() {"; cat my-setup-script.sh; echo -e "}\ndo_it" )
No argument limits to worry about, no quoting hassles.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: