2 ms·
> you can also pipe output from a PowerShell command to a Linux command. Agreed - PowerShell <-> WSL integration is pretty nice. Just remember (mostly for oth
by NotTheDr01ds 4y ago
> 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.
- tored 4y agoPowerShell also has a weird default encoding when piping.