1
% @(#)vaxx.hlq 19.1 (ESO-IPG) 02/25/03 14:03:49
2
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3
%.COPYRIGHT (c) 1990 European Southern Observatory
6
%.KEYWORDS MIDAS, help files, $/
7
%.PURPOSE On-line help file for the command: $/
8
%.VERSION 1.0 17-OCT-1983 : Creation, KB
9
%.VERSION 1.1 21-JUN-1991 : Update, KB
10
%.VERSION 1.2 18-FEB-1992 : add support of C-shell, KB
11
%.VERSION 1.3 15-JUL-1992 : add `$$' for passing line as it is to host, KB
12
%----------------------------------------------------------------
20
execute a host system command
23
Execute a host (operating system) command. Currently supported
24
host systems are VAX/VMS and all major UNIX systems.
29
host-comnd = a UNIX (Bourne-shell) or VMS (DCL) command to be executed
34
Chapter 3 of the MIDAS Users Guide, Vol. A
37
Before passing the command line to the host system all substitutions
38
of MIDAS are performed. If you want to pass the line "as it is",
41
But note, that the $$ command only works interactively...
46
Get the current time in UNIX.
49
Get the current time in VMS.
51
$$ cp /rio/grande/elpaso.bdf .
52
In Unix, copy the file elpaso.bdf in directory /rio/grande to current
53
directory with same name.
54
If only a single `$' would be used the name of the new file would
55
depend upon the contents of the preceding line, a name like `?' is
58
$$ delete [rio.grande]elpaso.bdf;*
59
In VMS, delete the file elpaso.bdf in directory [rio.grande].
60
Again, a single `$' would lead to a VMS error message, since the
61
line would be split up into 2 MIDAS commands...