Tom McCurdy wrote:
Bash Version: 4.3
Patch Level: 11
Release Status: release
Description:
Two nearly identical "For Loop" setups have large deltas in
performance. See test program below. Was confirmed in IRC chat room by
multiple users. Input is very noticeable with around 100,000 valu
ected end of file
bug.sh: line 7: syntax error near unexpected token `esac'
bug.sh: line 7: ` esac'
$ dash bug.sh
1
2
Workarounds:
- append semicolon behind first 'esac', or
- insert any command line between the case statements, or
- use `...` instead of $(...)
--
Christian Franke