technote:std
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
technote:std [2020/03/30 00:17] – [Output Via Stdout] Scott Cunliffe | technote:std [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 19: | Line 19: | ||
Piping an input file myVolumes.csv via stdin to TMSS10Sync. | Piping an input file myVolumes.csv via stdin to TMSS10Sync. | ||
- | <sxh> | + | <code> |
TMSS10Sync -S user: | TMSS10Sync -S user: | ||
- | </sxh> | + | </code> |
===== Stdout ===== | ===== Stdout ===== | ||
Line 33: | Line 33: | ||
Redirecting stdout from TMSS10Sync to file sync_stdout.txt. | Redirecting stdout from TMSS10Sync to file sync_stdout.txt. | ||
- | <sxh> | + | <code> |
TMSS10Sync -S user: | TMSS10Sync -S user: | ||
- | </sxh> | + | </code> |
Redirecting stdout from TMSS10Sync to file sync_stdout.txt. | Redirecting stdout from TMSS10Sync to file sync_stdout.txt. | ||
- | <sxh> | + | <code> |
TMSS10Sync -S user: | TMSS10Sync -S user: | ||
- | </sxh> | + | </code> |
===== Stderr ===== | ===== Stderr ===== | ||
Line 47: | Line 47: | ||
Standard error is another output stream typically used by programs to output error messages or diagnostics. It is a stream independent of standard output and can be redirected separately. | Standard error is another output stream typically used by programs to output error messages or diagnostics. It is a stream independent of standard output and can be redirected separately. | ||
+ | ==== Output Via Stderr ==== | ||
+ | |||
+ | Redirecting stderr from TMSS10Sync to file sync_stderr.txt. | ||
+ | |||
+ | < | ||
+ | TMSS10Sync -S user: | ||
+ | </ | ||
+ | |||
+ | Redirecting stdout from TMSS10Sync to file sync_stderr.txt. | ||
+ | |||
+ | < | ||
+ | TMSS10Sync -S user: | ||
+ | </ | ||
+ | |||
+ | ===== Concatenating Stdout and Stderr ===== | ||
+ | |||
+ | Depending on the purpose of the output from stdout and stderr it is possible to combine both streams to the one output file. | ||
+ | |||
+ | < | ||
+ | TMSS10Sync -S user: | ||
+ | </ | ||
technote/std.1585527447.txt.gz · Last modified: 2025/01/21 22:07 (external edit)