Changeset 31256 in project


Ignore:
Timestamp:
08/22/14 01:23:14 (5 years ago)
Author:
mikele
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/install

    r31255 r31256  
    77=== Description
    88
    9 A Scheme implementation of the Unix utility install.
     9A Scheme implementation of the Unix utility ''install''.
    1010
    11 <procedure> (install-file FILES TARGET #!key OWNER GROUP (MODE 755) PRESERVE-TIME)</procedure><br/>
     11=== Documentation
    1212
    13 File(s) are copied to the target file or directory. If the destination is a directory, then the file is copied into the directory with its original filename. If the target file already exists, it is overwritten if permissions allow. install attempts to prevent installing a file onto itself. Installing /dev/null (nul on Windows) creates an empty file. mode must be expressed in octal notation; mode, owner and group are ignored on Windows. The return value is unspecified.
     13<procedure> (install-file FILES TARGET #!key OWNER GROUP (MODE 755) PRESERVE-TIME)</procedure><br>
    1414
    15 <procedure>(install-dir DIRECTORIES #!key OWNER GROUP (MODE 755))</procedure><br/>
     15File(s) are copied to the target file or directory. If the destination is a directory, then the file is copied into the directory with its original filename. If the target file already exists, it is overwritten if permissions allow. install attempts to prevent installing a file onto itself. Installing ''/dev/null'' (''nul'' on Windows) creates an empty file. mode must be expressed in octal notation; ''mode'', ''owner'' and ''group'' are ignored on Windows. The return value is unspecified.
    1616
    17 Create all components of the given directory(ies). mode must be expressed in octal notation; mode, owner and group are ignored on Windows. The return value is unspecified.
     17<procedure>(install-dir DIRECTORIES #!key OWNER GROUP (MODE 755))</procedure><br>
     18
     19Create all components of the given directory(ies). ''mode'' must be expressed in octal notation; ''mode'', ''owner'' and ''group'' are ignored on Windows. The return value is unspecified.
     20
     21<macro>(install [-p] [-g GROUP] [-m MODE] [-o OWNER] SRC DST)</macro><br>
     22<macro>(install [-p] [-g GROUP] [-m MODE] [-o OWNER] SRC ... DIR)</macro><br>
     23<macro>(install      [-g GROUP] [-m MODE] [-o OWNER] -d DIR ...)</macro><br>
     24
     25Handy command-line-like syntax around install-file and install-directory.
    1826
    1927=== Requirements
Note: See TracChangeset for help on using the changeset viewer.