re: using Unix tools on Windows, I do like that you can pipe the output of a program in WSL to the Windows clipboard (clip.exe). I was really surprised by this! I use pbcopy on the Mac for this all the time.
And there's no unclip.exe. You'd have to use `powershell.exe get-clipboard`, which is pretty slow.
I use this simple alternative: https://github.com/equalsraf/win32yank
`echo caña | win32clip.exe -i` and `win32yank.exe -o`
For others, it really is just as easy as `ls | clip.exe` to pipe into your clipboard on WSL.
`ls | tee clip.exe` if you want to print as well as copy.
And of course you can just set an alias if you want to shorten clip.exe to clip.
Great tip! Thank you!
If so, that sounds terrible, and very Microsoft.
So good then.