Brought whitespace and line matching bits into bash variables