foreach, grep, and sed only break on chr(10)

Description

This leaves hanging chr(13)s in the strings they process. If you cat out a file of paths using a CR and LF and then pass each on to the cp command inside of foreach, you'll get incorrect behavior as the paths will come in with extra whitespace on them.

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Affects versions

Fix versions

Priority

Sentry

Created February 5, 2020 at 6:15 AM
Updated February 5, 2020 at 6:16 AM
Resolved February 5, 2020 at 6:16 AM