Skip to content

Commit

Permalink
internal nushell commands use structured data (#1686)
Browse files Browse the repository at this point in the history
The "which" in the original sentence sounds like it is referring to the raw bytes.
  • Loading branch information
SOF3 authored Dec 20, 2024
1 parent ec9fac2 commit 0df484a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/stdout_stderr_exit_codes.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Unlike file redirections, pipe redirections do not apply to all commands inside

## Raw Streams

Both stdout and stderr are represented as "raw streams" inside of Nushell. These are streams of bytes rather than structured data, which are what internal Nushell commands use.
Both stdout and stderr are represented as "raw streams" inside of Nushell. These are streams of bytes rather than the structured data used by internal Nushell commands.

Because streams of bytes can be difficult to work with, especially given how common it is to use output as if it was text data, Nushell attempts to convert raw streams into text data. This allows other commands to pull on the output of external commands and receive strings they can further process.

Expand Down

0 comments on commit 0df484a

Please sign in to comment.