Hacker News new | ask | show | jobs
by rethab 1326 days ago
how do you make sure your scripts are SH compatible?
1 comments

Make sure? Well, aside from keeping sh feature subset in my head, I usually run them like "sh myscript.sh" on target or limited environment (they have #!/bin/sh shebang) for testing. Other people here probable have better suggestions though. )