Is it possible in vim to direct read into a new buffer?

pipe, vim

Solution

Ahah - It turns out the answer is to use `#`, which I guess is the last used buffer(?)

:enew | r!tac #

Will read the output of `tac <current buffer>` into the new buffer.

Problem

I've been able to find a lot of things working in the other direction, but so far I'm not having much luck. I want to be able to `read` from the command line into a new buffer. I'd expect to have something like: ``` :r!tac % | new ``` and the new buffer would contain the output of `tac %` Is there any reasonable way to do this?

Original source