clinta / clinta.github.io

A tech blog by Clint.
4 stars 2 forks source link

Make shell commands more portable #2

Closed rcsheets closed 8 years ago

rcsheets commented 8 years ago

Your example commands that rely on setting environment variables can be made more portable (working on csh, for example) if you simply prefix them with the env command. They'll still work just fine on Bourne-derived shells as well.

clinta commented 8 years ago

Thanks!