~ubuntu-branches/debian/jessie/eso-midas/jessie

« back to all changes in this revision

Viewing changes to prim/help/vaxx.hlq

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-okiwi1assxkkiz39
Tags: upstream-13.09pl1.2+dfsg
ImportĀ upstreamĀ versionĀ 13.09pl1.2+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
% @(#)vaxx.hlq  19.1 (ESO-IPG) 02/25/03 14:03:49 
 
2
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
3
%.COPYRIGHT  (c)  1990 European Southern Observatory
 
4
%.IDENT      vaxx.hlq
 
5
%.AUTHOR     KB, IPG/ESO
 
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
%----------------------------------------------------------------
 
13
\noqualifier
 
14
\se
 
15
SECTION./
 
16
\es\co
 
17
$                                                       15-JUL-1992  KB
 
18
\oc\su
 
19
$ comnd
 
20
        execute a host system command
 
21
\us\pu
 
22
Purpose: 
 
23
         Execute a host (operating system) command. Currently supported
 
24
         host systems are VAX/VMS and all major UNIX systems.
 
25
\up\sy
 
26
Syntax:  
 
27
         $ host-comnd
 
28
\ys\pa
 
29
         host-comnd = a UNIX (Bourne-shell) or VMS (DCL) command to be executed
 
30
\ap\sa
 
31
See also:
 
32
         SET/MIDAS_SYSTEM 
 
33
\\
 
34
         Chapter 3 of the MIDAS Users Guide, Vol. A
 
35
\as\ no
 
36
Note: 
 
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",
 
39
         use: $$ host-comnd .
 
40
\\
 
41
         But note, that the $$ command only works interactively...
 
42
\on\exs
 
43
Examples:
 
44
\ex
 
45
         $ date
 
46
          Get the current time in UNIX.
 
47
\xe\ex
 
48
         $ show time
 
49
          Get the current time in VMS.
 
50
\xe\ex
 
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
 
56
          quite likely...
 
57
\xe\ex
 
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...
 
62
\xe \sxe