Y
Hacker News
new
|
ask
|
show
|
jobs
by
ndsipa_pomu
640 days ago
I think I misread the original recommendation as being the other way round i.e. to use #!/usr/bin/env bash instead of #!/bin/bash.
That's why env is generally preferred as it finds the appropriate bash for the system.