4 ms·
It depends on what people use the GUI for. It's not inconceivable that people start up gvim to make a new file (instead of cat > file) or use some bulk-renaming
by cranekam 7y ago
It depends on what people use the GUI for. It's not inconceivable that people start up gvim to make a new file (instead of cat > file) or use some bulk-renaming tool instead of learning about shell expansions.
"Awful" was a mean description of this article. I'll fix it (edit: comment, not fix).
- wruza 7y agotouch file if you need an empty file (also prevents accidental truncation).
- yjftsjthsd-h 7y ago`vim newfile` (or gvim/nano/emacs/whatever) will create a new file. I won't say I've never created a file with cat (handy for pasting), but it's a little unusual.
- cranekam 7y agoI usually do it when autoindent is going to make a mess of whatever I'm pasting into the file.