Dorian Péron
Dorian Péron
Hi, I just finished implementing a driver for the DHT11 sensor on an Elegoo Arduino Uno R3. I had to use a pull up pin with temporary output mode to...
Hi ! I am facing the same issue with the package `sdbus`.
> let me know what you think from proposal #5869 Thank you ! The reason I only proposed the `pty-process` crate was that it felt similar to the way I...
Fixed by #5869
Well maybe it is not exactly a space. I have written this test: ```rust scene .ucmd() .arg("--hide-control-chars") .arg("one\ntwo") .terminal_simulation(true) .succeeds() .stdout_only(" 'one'$'\\n''two'\n"); ``` and this still fails, but the diff...
I modified the assertion code to dump the bytes of expected/got stdouts on failure, and I ended up with this: ``` ---- test_ls::test_ls_quoting_and_color stdout ---- touch: /tmp/.tmpyfPDjs/one two run: /home/renji/projects/coreutils/target/debug/coreutils...
Found: [this](https://github.com/uutils/coreutils/blob/97f8361737ce1295627537617108b660e8d35ab2/src/uu/ls/src/ls.rs#L2622) is where the space is added. No searching why is the behavior only triggered by TTY
I removed the "adding space if quoted and starts with `'`" logic [here](https://github.com/uutils/coreutils/blob/97f8361737ce1295627537617108b660e8d35ab2/src/uu/ls/src/ls.rs#L2618C1-L2630C11) and it didn't break any test. I am not sure what it is made for, but so...
> For anyone else, link to that commit: [3346b41](https://github.com/uutils/coreutils/commit/3346b4147aa7c9dd5e5ad822ac927407010eb8de) > > Seems like I made a mistake? The logic should be that there's a space if the quoting style does...
Oh, I think I get it. I'll give it a try !