Y
Hacker News
new
|
ask
|
show
|
jobs
by
aartaka
261 days ago
Both GNU ed and OpenBSD ed support wq as an extension to POSIX. But yeah, it all depends on whether you want to stick by POSIX or common practice. I personally prefer wq for interactive sessions and w\nq for scripts.