bash:output
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
bash:output [2021/01/26 15:16] – peter | bash:output [2021/01/26 16:26] (current) – peter | ||
---|---|---|---|
Line 4: | Line 4: | ||
[[BASH: | [[BASH: | ||
+ | |||
+ | [[BASH: | ||
[[BASH: | [[BASH: | ||
Line 11: | Line 13: | ||
[[BASH: | [[BASH: | ||
- | + | [[BASH:Output: | |
- | + | ||
- | + | ||
- | ---- | + | |
- | + | ||
- | + | ||
- | ===== Badly-written commands ===== | + | |
- | + | ||
- | Some commands are not well-written, | + | |
- | + | ||
- | For example: | + | |
- | + | ||
- | <code bash> | + | |
- | vers=$(python --version) | + | |
- | Python 2.7.13 | + | |
- | echo " | + | |
- | {} | + | |
- | </ | + | |
- | + | ||
- | Even though we specifically asked for the version number, python wrote it to stderr. | + | |
bash/output.1611674201.txt.gz · Last modified: 2021/01/26 15:16 by peter