lhunath / bash.academy

The http://bash.academy website
Creative Commons Attribution Share Alike 4.0 International
1.02k stars 123 forks source link

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

Closed ar-qun closed 8 years ago

ar-qun commented 8 years ago

Something like that.

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

A minor issue.

lhunath commented 8 years ago

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

Thanks for pointing it out, though!