Earlier quoted context omitted.
Does anybody know if this can be done in Windows (not WSL)? E.g. is it possible to open a named pipe (?) through its name, and work with it as a sequential file?
This isn’t a Linux thing, it’s a bash thing. The A quick search says that Windows has support for named pipes as an IPC mechanism [1], but I’ve never used them. But this is a Windows API. I am not aware for any way to do this with plain cmd.exe. You’re not the first to ask though... [2] [1] https://docs.microsoft.com/en-us/windows/win32/ipc/named-pip... [2] https://superuser.com/questions/430466/in-windows-can-i-redi…
Even the echo example hints, that the created pipe has a name, and that name is then simply passed as the argument to the command.