Posted: Sun 31 May 2009, 09:32 Post subject:
Need the shebang for all 1 line scripts
I'm Japanese. When my English is strange, tell me.
I expect that shebang(#!/bin/sh or #!/bin/bash) is added to all 1 line scripts.
When there is no shebang, bash misjudge that file as binary file if the 1st line includes some multi byte characters.
sample is below.
As one example, in case of the /usr/sbin/wag-profiles, this way is good.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum