Commit 6a1744c
authored
join: fix crash for '(' delimiter (#1057)
* As per commit b345448 for cut(1)
* The -t option expects a literal character to use as a delimiter for reading input files, but it was interpreted as a regex in split()
* Apply the same \Q & \E fix in the match as
* Small re-factor to avoid calling split() in both branches of ternary-operator1 parent 9240f69 commit 6a1744c
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
159 | | - | |
160 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
| |||
0 commit comments