1
vote
2answers
108 views

How can I edit a file without altering its modif date?

How can I edit a file without altering its modification dateĀ ? In command line. Is vi able to thatĀ ?
7
votes
3answers
3k views

How does Mountain Lion set the default text editor for the “open -t” terminal command?

OSX seem to offer open -t command line shortcut to open arbitrary files in the system default text editor. Where is this default text editor set? Can I change it from the command line (if possible) ...
18
votes
6answers
38k views

How do I start TextEditor from the command line?

I work a lot at the command line in a Terminal and would like to start a text editor on a certain file. I'm from Linux Land and normally use kwrite or gedit from a bash shell. Trying to find the Mac ...