fangpeina opened a new pull request, #18309:
URL: https://github.com/apache/nuttx/pull/18309
## Summary
This PR updates the NSH documentation to include complete redirection syntax
documentation.
## Changes
### Documentation Updates (`Documentation/applications/nsh/nsh.rst`)
1. **Added stdin redirection documentation**
- Syntax: `<cmd> < <file>`
2. **Added stderr redirection documentation** (corresponds to
nuttx-apps#3378)
- Syntax: `<cmd> 2> <file>` (overwrite mode)
- Syntax: `<cmd> 2>> <file>` (append mode)
- Syntax: `<cmd> 2>&1` (redirect stderr to stdout)
## Impact
- **Documentation only** - No code changes
- **User Experience**: Provides complete reference for NSH redirection
operators
- **Related PR**: Corresponds to stderr redirection feature in
apache/nuttx-apps#3378
--
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]