Hello,

I am trying to open many buffers using some command line tools. For example.

find . -name "pom.xml" | awk '{print "bad " $1 > "/dev/stderr"}' | vi -

then issuing ls to no avail

iff I issue

find . -name "pom.xml" | awk '{print "bad " $1 > "/dev/stderr"}' 2> session ; vi -S session

Then I have all the buffers loaded. (note the stderr here IS superfluous)

The man page says

"The file to edit is read from stdin. Commands are read from stderr, which should be a tty."

I think I'm missing a point somewhere, can you think of anyway to skip the intermediary session file?

Regards,

Warren



Reply via email to