aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-09-16 14:07:03 +0300
committerLasse Collin <lasse.collin@tukaani.org>2022-09-17 00:22:11 +0300
commit974186f7cd839f1dbf937b98e112dff670d2bd5c (patch)
treed8ddd136ec1bce4600581c5372151515b295393d /src/liblzma
parentliblzma: lzma_filters_copy: Keep dest[] unmodified if an error occurs. (diff)
downloadxz-974186f7cd839f1dbf937b98e112dff670d2bd5c.tar.xz
xzgrep: Fix compatibility with old shells.
Running the current xzgrep on Slackware 10.1 with GNU bash 3.00.15: xzgrep: line 231: syntax error near unexpected token `;;' On SCO OpenServer 5.0.7 with Korn Shell 93r: syntax error at line 231 : `;;' unexpected Turns out that some old shells don't like apostrophes (') inside command substitutions. For example, the following fails: x=$(echo foo # asdf'zxcv echo bar) printf '%s\n' "$x" The problem was introduced by commits 69d1b3fc29677af8ade8dc15dba83f0589cb63d6 (2022-03-29), bd7b290f3fe4faeceb7d3497ed9bf2e6ed5e7dc5 (2022-07-18), and a648978b20495b7aa4a8b029c5a810b5ad9d08ff (2022-07-19). 5.2.6 is the only stable release that included this problem. Thanks to Kevin R. Bulgrien for reporting the problem on SCO OpenServer 5.0.7 and for providing the fix.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions