commit | 36e2bdf517773553053571a787ba720bcbfec367 | [log] [tgz] |
---|---|---|
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | Fri Jan 01 18:25:58 2016 +0100 |
committer | sin <sin@2f30.org> | Sat Jan 02 09:46:48 2016 +0000 |
tree | 3b7a4ba46e0375568c30b933e7ccdacc7cefdda0 | |
parent | cf0a0fc940b33a9213993448e2d2d8cf217108b0 [diff] |
ed: Use TMPDIR to locate the temporal file The current behaviour of storing the scratch file in the current directory is a bit painful, because it generates files in all the directories where you execute ed. BSD ed uses TMPDIR for this purpouse, so if the user wants to put the scratch file in other place different of /tmp it only has to set this variable.