|
|
Subscribe / Log in / New account

dash/ash

dash/ash

Posted Oct 4, 2014 7:03 UTC (Sat) by tomgj (guest, #50537)
In reply to: dash/ash by chutzpah
Parent article: Bash gets shellshocked

The thing about moving to dash or ash for shell scripts is that some of the "bashisms" are truly useful features.
Okay but that doesn't mean that "sh" needs to be bash. The scripts that require bashisms can use bash explicitly by name, leaving sh to be a more minimal implementation of the POSIX shell.


to post comments

dash/ash

Posted Oct 9, 2014 10:59 UTC (Thu) by Tet (guest, #5433) [Link]

Better still, write scripts in ksh instead. For interactive use, bash still gets my vote. But ksh does a better job of scripting.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds