aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2023-02-10 12:54:03 +0000
committerRon Yorston <rmy@pobox.com>2023-02-10 13:21:02 +0000
commitd9916c6344c806696554115baa764eea09ca5f08 (patch)
treea25f6f4aaf4e91915b615af7e4bbc09bd68f6ac9 /TODO
parent4b894b60ae377ee2a04ae209c14bb1e714ecf6f4 (diff)
downloadbusybox-w32-d9916c6344c806696554115baa764eea09ca5f08.tar.gz
busybox-w32-d9916c6344c806696554115baa764eea09ca5f08.tar.bz2
busybox-w32-d9916c6344c806696554115baa764eea09ca5f08.zip
ash: remove CRs from CRLF during field splitting
Commit e371e46fa0 (shell: add \r to IFS) added '\r' to the IFS variable so field splitting would remove carriage returns. Rather than change IFS, remove CRs preceding LFs in regions being scanned for field splitting before IFS is applied. This prevents free-standing CRs from being removed. Costs 112-120 bytes. (GitHub issue #285)
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions