rds95@leah.Albany.Edu (Robert Seals) (04/12/89)
In article <16838@mimsy.UUCP>, chris@mimsy.UUCP (Chris Torek) writes: > Anyway, you will get best results from a 4BSD machine by using > #! /bin/sh > or > #! /bin/csh > as the first line of your script. Is there a difference between ``#! /bin/sh'' and ``#!/bin/sh''? ^ ^ rob
guy@auspex.auspex.com (Guy Harris) (04/15/89)
>Is there a difference between ``#! /bin/sh'' and ``#!/bin/sh''?
Not on a system that does "#!" properly; any system that has picked up
the 4.3BSD code for "#!" (and probably other 4.xBSD code as well) will
do it properly (unless somebody decided to "improve" it).
ok@quintus.UUCP (Richard A. O'Keefe) (04/15/89)
In article <1435@auspex.auspex.com> guy@auspex.auspex.com (Guy Harris) writes: >>Is there a difference between ``#! /bin/sh'' and ``#!/bin/sh''? > >Not on a system that does "#!" properly In some versions of UNIX you have a 32-character limit on the interpreter comment, which is rather kathedralgic. With so few characters available, why waste one of them on a non-informative space? For /bin/sh, no problem, but when the program you really want is /usr/local/oursite/bin/sc2.6 you want all the help you can get. Has that limit gone in 4.3BSD? If not, will it go in 4.4? What about V.4?