Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: