Skip to content

Conversation

@fangpeina
Copy link
Contributor

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

This commit updates the NSH documentation about redirection syntax.

This documentation update corresponds to the stderr redirection feature
added in nuttx-apps PR apache#3378.

Signed-off-by: fangpeina <fangpeina@xiaomi.com>
@github-actions github-actions bot added Area: Documentation Improvements or additions to documentation Size: S The size of the change in this PR is small labels Feb 2, 2026
@simbit18 simbit18 merged commit 35e579d into apache:master Feb 2, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Documentation Improvements or additions to documentation Size: S The size of the change in this PR is small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants