Difference between revisions of "ED"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 12: | Line 12: | ||
==See Also== | ==See Also== | ||
− | [[MODIFY COMMAND]], [[TEXTEDIT()]], [[VI]] | + | [[MODIFY COMMAND]], [[SET TEDIT]], [[TEXTEDIT()]], [[VI]] |
Line 18: | Line 18: | ||
ED provides the facility to create or modify program files and other text files. The filename can be substituted with a <expC>, enclosed in round brackets, which returns a valid filename. If no file extension is present in the file name, then '.prg' is used. | ED provides the facility to create or modify program files and other text files. The filename can be substituted with a <expC>, enclosed in round brackets, which returns a valid filename. If no file extension is present in the file name, then '.prg' is used. | ||
− | The default editors are: the 'vi' editor under UNIX and Linux; the 'edt' editor under VAX/VMS. You may override these defaults using the SET TEDIT | + | The default editors are: the 'vi' editor under UNIX and Linux; the 'edt' editor under VAX/VMS. You may override these defaults using the SET TEDIT command. |
ED is a synonym of the MODIFY COMMAND and VI commands. | ED is a synonym of the MODIFY COMMAND and VI commands. |
Revision as of 13:02, 19 June 2009
Class
Terminal Developer Development Tools
Purpose
Execute a text editor to edit program files
Syntax
ED <prg filename> | (<expC>)
See Also
MODIFY COMMAND, SET TEDIT, TEXTEDIT(), VI
Description
ED provides the facility to create or modify program files and other text files. The filename can be substituted with a <expC>, enclosed in round brackets, which returns a valid filename. If no file extension is present in the file name, then '.prg' is used.
The default editors are: the 'vi' editor under UNIX and Linux; the 'edt' editor under VAX/VMS. You may override these defaults using the SET TEDIT command.
ED is a synonym of the MODIFY COMMAND and VI commands.
Example
modify command myprogram ed myprogram vi myprogram
Products
Recital Terminal Developer