Re: how execute a script
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, Nov 17, 2015 at 03:15:21PM -0500, shawn wilson wrote:
> > % file t.sh
> > t.sh: ASCII text
> > % cat t.sh
> > max=10
> >
>
> Oh and before someone says "but there's some standard that says you're
> supposed to put a shebang at the top" - afaik, it's not in POSIX
> anywhere:
> http://www.in-ulm.de/~mascheck/various/shebang/
You forgot to mention that it's in AT&T Unix since 1979. I'd venture to
say that nowadays it is an integral part of Unix.
> So, magic dropped the ball - should've been identified as a shell
> script (due to the use of "echo"
Now you lost me.
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlZLjOgACgkQBcgs9XrR2kbCCQCeJuta2EiilKsRml49QQdRvgo2
lAIAn2ZaVmWvqAp6qi2i3AMArSLnaJGj
=HPu2
-----END PGP SIGNATURE-----
Reply to: