any negative / unintended consequences of using a #!/bin/bash shebang or sourcing a file from /etc/default? #1323
-
NB: I'm specifically not asking about style or personal preference here but rather if I'm introducing problems on a completion that is A discussion on #bash intimated that I should refer specifically to the bash-completion package if I'm going to be putting these in
Given the above: are there any unintended or negative consequences of including the shebang on a nonexecutable (-x) file sourcing a list of variables from /etc/default that is in |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
As far as However, I think you can simply use the filename extension |
Beta Was this translation helpful? Give feedback.
I guess the consequence of sourcing the file with the mpd variables in it means that they're going to be in the environment...so I'd be better off just grepping that out of the file instead.