remove null-stream (#670)

It's a follow up to https://github.com/nushell/nushell/pull/11070
This commit is contained in:
WindSoilder 2023-11-17 23:16:21 +08:00 committed by GitHub
parent 6a40ceb3db
commit 09d6c7e437
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +0,0 @@
# Examples
# redirect to the null stream
# > echo foo out> (null-stream)
def null-stream []: nothing -> string {
if $nu.os-info.name == "windows" {
"NUL:"
} else {
"/dev/null"
}
}