Symlinks of sh to bash breaks extra args?

Joel Reicher <[email protected]> Mon, 22 Sep 2025 15:30:40 +1000
Newsgroups gmane.emacs.tramp
Message-ID <[email protected]>
I've only just started looking at how all this works so I'm sure 
there's a lot I don't understand, but it seems to me the intention 
of tramp-sh-extra-args is broken by the combination of it using a 
regex on bash, the default remote shell for tramp being /bin/sh, 
and then the (quite common) arrangement of the remote having a 
symlink from /bin/sh to /bin/bash. The result is then bash, but 
tramp doesn't know it and then never applies those extra args.

Is this a problem? I don't know how important those extra args 
are, but things seem to work better with them.

Regards,

        - Joel