mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-02 07:07:46 +00:00
remove null-stream (#670)
It's a follow up to https://github.com/nushell/nushell/pull/11070
This commit is contained in:
parent
6a40ceb3db
commit
09d6c7e437
1 changed files with 0 additions and 10 deletions
|
@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue