save

NAME

save - .scn saver

SYNOPSIS

save [ -pipe | - | -nopipe ] [ -backup | -nobackup ] [ -with_ver_ext | -without_ver_ext ] [ scn_filenames ... ]

DESCRIPTION

This command save .scn files from the work memory. If you assign the full path name (starts from "/") for the scn_filename, the command neglects the STAR_DATA envilonment for the file.

FILTER TYPE

.scn | save (| .scn)

OPTIONS

-pipe | - | -nopipe
The keywords -pipe or - gives the .scn flow for the following processes. The keyword -nopipe gives nothing for the following process.
-backup | -nobackup
With the keyword -backup the command gives a backup file if the same name file has already existed as that for saving. The backup file name is attached by "." and number digits which correspond the version number for backup attached with "+". For example, "abcd.scn" is renamed "abcd.0+.scn". The backup version number automatically increases when the save command is executed.

With the keyword -backup the command does not make a backup file.

-with_ver_ext | -without_ver_ext
The keyword -without_ver_ext is only valid if environment parameter STAR_BACKUP is valid (assigned a proper directory). With this keyword the backup filename is the same as the original. You can easily re-do the previous process simply using UNIX mv command, although the created backup files are only a single step before the latest.

With the -with_ver_ext the command always give a name with backup version number for a backup file, even if the environment paramter STAR_BACKUP is valid.

DEFAULTS

-nopipe -backup -without_ver_ext -prm save.prm
scn_filename
The default filename is the same as that given in the previous process. In most cases the default name is given by the command load or autoname.

ENVIRONMENT

STAR_DATA
It gives default directory for the .scn files. No assign for the parameter means default directory is the current one.
STAR_BACKUP
It gives default directory for the backup files. The directory gives relative path from the directory assigned from STAR_DATA.

SEE ALSO

load, headlist, .scn

BUGS

HISTORY

ver.1.00
1992/4/17 T.Handa
ver.3.20
1998/4/8 T.Handa
ver.3.30
2003/1/2 T.Handa

MANUAL VERSION

2003/1/4 T.Handa