[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Post-commit script !!

From: Marc Haisenko <haisenko_at_comdasys.com>
Date: Fri, 12 Sep 2008 10:24:11 +0200

On Friday 12 September 2008 09:36:55 Himanshu Raina wrote:
> Okay it might sound stupid but why is that ? I mean why would giving an
> extension of .sh not make the script work?
>
> Thanks !!
> Himanshu Raina

Because on UNIX/Linux, file "extensions" don't mean a lot. The operating
system doesn't know about them. On DOS/Windows, the OS gives meaning to the
file extension thanks to design decisions about 28 years back: if you enter
"foo", DOS/Windows searches first for "foo.com", "foo.exe" and "foo.bat" (not
sure about the order). To DOS/Windows, the "." is/was special in a filename.
But for UNIX the "." is just another character like any other, and this is why
the additional ".sh" makes a difference here.
Bye,
        Marc

-- 
Marc Haisenko
Comdasys AG
Rüdesheimer Str. 7
80686 München
Germany
Tel.: +49 (0)89 548 433 321
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-12 10:24:33 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.