shell question - #!/bin/sh or #! /bin/sh ?

Smoot Carl-Mitchell smoot at tic.com
Sat Jun 27 16:38:06 UTC 2009


On Sat, 2009-06-27 at 15:40 +0200, Soren Orel wrote:
> It's a usual thing to begin a script like this:
> 
> #!/bin/sh
> 
> but sometimes I see this (a space after the "!"):
> 
> #! /bin/sh
> 
> are there any differences regarding these two lines?

No, the whitespace is irrelevant.
-- 
Smoot Carl-Mitchell
Computer Systems and
Network Consultant
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005




More information about the ubuntu-users mailing list