lhunath/bash.academy

02.commands.html ex returns an error "No lines in the buffer" if i is used in an empty file

Closed this issue · 1 comments

Something like that.

:i
No lines in the buffer
:a
Hello
.
:i
Hello
.
:

A minor issue.

This is somewhat implementation specific. If your ex is vim it likely won't say this.

Thanks for pointing it out, though!