bash4 looks good on paper , and I think I'll build it and give it a test drive.
In the meantime...
Anyone who has done the same care to share their expierence?
It would be particularly interesting to hear of any issues with old bash code.
The bash NEWS file, repro'd here with some summary, has some good info. Big new features include:
array[name]
, and access with ${array[name]}
**
glob pattern: match all files and "zero or more" directories coproc
keyword to spawn another process, then redirect its I/O to the currently existing shell (or another process, if you so desire) There is a compatibility document that covers all versions of bash through to 4.1.
Tightening up of POSIX compliance is one area where differences with version 3.2 have arisen.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.