editor.fs Command/Editor

editor.fs

Command editor.fs Command/Editor
Applicable release versions: AP, R83
Category Editor (43)
Description "saves" a copy of the current item and remains in the editor within the current item.

It is essentially the same as the "fi" command, but it doesn't exit the item.

When editing large items, the "fs" command should be issued periodically to ensure an update to the file. A different file.reference and/or item-id may be specified prior to actually saving the item.

See the "fso" command for writing over pre-existing items.
Syntax fs
fs item-id
fs(file.reference
fs(file.reference item-id
Options
Example
ed bp main.program<return>
top
.fs<return> 

This writes a copy of the item back to the file from which it was originally 
retrieved.

ed bp main.program<return>
top
.fs main.program.original<return> 

This effectively makes a backup copy of "main.program", calling the 
new copy "main.program.original".  This is useful in making 
historical copies or saving originals under different names prior to making 
changes without leaving the Editor.
Purpose
Related editor.fio
editor.errors
editor.fsl
editor.fso
editor.fd
editor.introduction
editor.fi
editor.ex