Re: Magnitude of Order "For Loop" performance deltas based on syntax change

2016-09-24 Thread Christian Franke
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

Parse error with consecutive case statements inside $()

2016-03-29 Thread Christian Franke
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