editor.fs
Saves item and remains in item.
Syntax
fs fs item-id fs(file.reference fs(file.reference item-id
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.
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.
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
