pub fn normalize_stdin_line(line: &str) -> &strExpand description
Normalizes a stdin line by stripping trailing \r (CRLF → LF).
Required on Windows where pipes may emit \r\n. Does not alter embedded
newlines in multi-line payloads (only trims end-of-line CR/LF).