cubsave

NAME

cubsave - .cub saver

SYNOPSIS

cubsave [ -pipe | - | -nopipe ] [ -backup | -nobackup ] [ -with_ver_ext | -without_ver_ext ] [ cub_filename ]

DESCRIPTION

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

FILTER TYPE

.cub | cubsave (| .cub)

OPTIONS

-pipe | - | -nopipe
The keyword -pipe or - gives the cub 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.cub" is renamed "abcd.0+.cub". The backup version number automatically increases when the save command is executed.
-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 cubsave.prm

ENVIRONMENT

STAR_DATA
It gives default directiory for the .scn file.
STAR_BACKUP
It gives default directory for the backup files. The directory gives relative path from the directory assigned from STAR_DATA.

SEE ALSO

cubload, .cub

BUGS

HISTORY

ver.3.00
1998/12/10 T.Handa
ver.3.01
2003/1/4 T.Handa

MANUAL VERSION

2003/1/4 T.Handa