16 lines
425 B
SQL
16 lines
425 B
SQL
-- Copyright 2018 Tanel Poder. All rights reserved. More info at http://tanelpoder.com
|
|
-- Licensed under the Apache License, Version 2.0. See LICENSE.txt for terms & conditions.
|
|
|
|
define _ed_tmp_editor="&_editor"
|
|
define _editor="&_editor"
|
|
|
|
ed &1
|
|
|
|
define _editor="&_ed_tmp_editor"
|
|
undefine _ed_tmp_editor
|
|
|
|
-- for unix use smth like:
|
|
-- define _editor="host xterm -c vi &1 &#"
|
|
-- or
|
|
-- define _editor="host nedit &1 &#"
|