Closed envp closed 2 years ago
Do you think we can use
StringEscapeDecoder
somewhere else in this project?
Maybe printf? I'm not sure at the top of my head
About the CI failures, it is a crate that updated patch version using new rust features. I'll push a dirt fix soon, I let you know so you can rebase your branch
@envp Can you rebase your branch from current dev
branch?
Do you think we can use
StringEscapeDecoder
somewhere else in this project?Maybe printf? I'm not sure at the top of my head
Looked at printf
looks like it also does some string unescaping. Also there's a possible bug, \v
is mapped to \x0D
(which is \r
) but its supposed to be \x0B
reference
Will rebase, and refactor it into coreutils core.
StringEscapeDecoder
which wraps a string iterator that unescapes ASCII control codes in the underlying stringx_formatter
functions return anOption<String>
for when they are unable to format the rusage struct.unwrap()
at the top level. Could probably add my own wrapper enum if that is a huge concern@GrayJack Do you think we can use
StringEscapeDecoder
somewhere else in this project?