5 ms·
But that might fail half-way through the file, and the other one is all or nothing, might just report "argument list too long".
by iso-8859-1 9y ago
But that might fail half-way through the file, and the other one is all or nothing, might just report "argument list too long".
- falsedan 9y ago> might fail half-way through the file Oh, while transferring! ssh -t user@example.org bash <( echo "function do_it() {"; cat my-setup-script.sh; echo -e "}\ndo_it" ) No argument limits to worry about, no quoting hassles.