sumpfralle opened a new pull request, #3178: URL: https://github.com/apache/nuttx-apps/pull/3178
## Summary Previously `dd` clobbered its output by writing status messages (e.g. transfer statistics) to stdout. Thus, `echo foo | dd | md5` produced a different result than `echo foo | md5`. Now all status messages are written to stderr. In addition I added the `--help` argument. The code for emitting the usage hints was already there. But it was only accessible by supplying invalid parameters. ## Impact No more unwanted output for stdout. ## Testing I tested the result on an rp2040 board. ``` nsh> eecho foo | dd | md5; echo sh [93:100] sh [94:100] 4 bytes (1 blocks) copied, 0 usec, 4294967295 KB/s d3b07384d113edec49eaa6238ad5ff00 nsh> eecho foo | md5; echo sh [120:100] d3b07384d113edec49eaa6238ad5ff00 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
