Re:Bash-Fu
by kree10 on Thursday March 24, 2011 @10:17AM
(#2364138)
Seeing #!/bin/bash is one of my pet peeves.
If it's a straight shell script, use "#!/bin/sh" please. If the script actually requires bash features, I'd appreciate "#!/usr/bin/env bash" because if I choose to install bash, it probably won't be in /bin.
If it's a straight shell script, use "#!/bin/sh" please. If the script actually requires bash features, I'd appreciate "#!/usr/bin/env bash" because if I choose to install bash, it probably won't be in /bin.