On Tue, May 8, 2012 at 7:56 PM, Lluís Batlle i Rossell <vi...@viric.name>wrote:

> But most relevant for this case, is that a login shell runs
> ".bash_profile", and
> a non-login shell runs ".bashrc". non-interactive sessions should use
> non-login
>

Slight correction - that's only for /bin/bash. Not everyone uses bash and
not all platforms default to it (e.g. solaris).

That said, fossil should not do "ssh host", without command, because that's
> meant to produce text for humans that fossil may fail to parse.
>

It's also used as a way of calling local scripts on remote hosts:

cat foo.sh | ssh host

vs:

cat foo.sh | ssh host 'cat > foo.sh; bash foo.sh'

vs scp + ssh


-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to