News for hackers. Stuff that matters.
Re:Show HN: Welder – set up your Linux server with plain she... by falsedan on Friday June 09, 2017 @03:51PM (#14523954)
It's a weird way of writing

  ssh -t [email protected] /bin/bash < my-setup-script.sh
That is, take the contents of the local file 'my-setup-script.sh' and run them as commands on example.com as the 'user' user (using SSH to authenticate the user & transport the commands).
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.