News for hackers. Stuff that matters.
Re:Show HN: Welder – set up your Linux server with plain she... by iso-8859-1 on Saturday June 10, 2017 @07:13AM (#14526944)
But that might fail half-way through the file, and the other one is all or nothing, might just report "argument list too long".
Re:Show HN: Welder – set up your Linux server with plain she... by falsedan on Saturday June 10, 2017 @12:09PM (#14527832)
> 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.