Re:Using Windows after 15 years on Linux
by NotTheDr01ds on Thursday April 07, 2022 @02:45PM
(#30948709)
> you can also pipe output from a PowerShell command to a Linux command.
Agreed - PowerShell <-> WSL integration is pretty nice. Just remember (mostly for others reading) that PowerShell has a nasty habit of automatically appending a trailing newline when piping to external commands like WSL. So you often need a "tr -d '\n'" in the WSL part of your pipeline.
Agreed - PowerShell <-> WSL integration is pretty nice. Just remember (mostly for others reading) that PowerShell has a nasty habit of automatically appending a trailing newline when piping to external commands like WSL. So you often need a "tr -d '\n'" in the WSL part of your pipeline.