I have a script from other person which has a look (note: it's a single file):
#!/bin/bash
some commands
some commands
#!/bin/bash
some commands
some commands
#!/bin/bash
some commands
some commands
I wondering what is the purpose of second and third shebangs? Is it by mistake or on purpose?
#!/bin/bash
preceeded by<<
construct (here document) as:some command <<end_of_script_flag
? – dan Jun 01 '15 at 13:39<<
constructs. Just plain shebangs and some remove commands (this was uninstall script) – Barat Sahdzijeu Jun 01 '15 at 19:47#!
lines? – Gilles 'SO- stop being evil' Jun 01 '15 at 22:17Uninstall.command
(platform: Mac OS X). – Barat Sahdzijeu Jun 02 '15 at 09:23