Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Which text editor gives you difficulty? Is there an error message? The editors with which I am acquainted (ed,nano,vi,vim,emacs,teco,LibreOffice, ...) all regard a non-existent file as empty, and create the file upon exit (or when one writes the buffer). If your editor doesn't do that, it may be a bug. Commented Nov 17, 2021 at 0:12
  • Of note, I believe this is rather unique to MacOS; Linux does not have an open(1) man page, nor is it recognized as a command in Linux. Commented Nov 4, 2022 at 23:54