LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-07-2021, 06:05 PM   #1
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,373

Rep: Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088
Shebang : space between # and ! in /etc/rc.d/ scripts


In /etc/rc.d

shebang that needs correction :
Code:
rc.fuse:#! /bin/sh
rc.php-fpm:#! /bin/sh

Last edited by marav; 09-07-2021 at 06:09 PM.
 
Old 09-08-2021, 01:08 AM   #2
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 591

Rep: Reputation: Disabled
Spaces are optional and they are allowed after the '#!'. See https://web.archive.org/web/20170215...ebang/#details for instance or https://en.wikipedia.org/wiki/Shebang_(Unix)#History
 
Old 09-08-2021, 01:22 AM   #3
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,373

Original Poster
Rep: Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088
Quote:
Originally Posted by Windu View Post
Spaces are optional and they are allowed after the '#!'. See https://web.archive.org/web/20170215...ebang/#details for instance or https://en.wikipedia.org/wiki/Shebang_(Unix)#History
Yes, I know that

it's just a question of consistency with the other scripts
I think PV will put this on a todo list
and it will be applied sometimes when they will be updated
As you have probably seen, exactly like fuse3 during the last update

Last edited by marav; 09-08-2021 at 01:29 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bash script to find files with shebang and then chmod nshewmaker Linux - General 8 11-27-2008 02:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration