.\" -*-nroff-*-
.\"
-.\" $Id: sw-env.5,v 1.1 1999/06/04 13:56:18 mdw Exp $
+.\" $Id: sw-env.5,v 1.2 1999/07/16 12:45:37 mdw Exp $
.\"
.\" Manual page for `sw-env' files
.\"
.\" (c) 1999 EBI
.\"
+.
.\"----- Licensing notice ---------------------------------------------------
.\"
.\" This file is part of sw-tools.
.\" You should have received a copy of the GNU General Public License
.\" along with sw-tools; if not, write to the Free Software Foundation,
.\" Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-.\"
+.
.\"----- Revision history ---------------------------------------------------
.\"
.\" $Log: sw-env.5,v $
+.\" Revision 1.2 1999/07/16 12:45:37 mdw
+.\" Internal formatting improvements.
+.\"
.\" Revision 1.1 1999/06/04 13:56:18 mdw
.\" New manual page.
.\"
-.\"
+.
.\" --- Useful macro definitions ---
-.\"
+.
.de VS \" Start a sort-of verbatim block
.sp 1
.in +5n
.in -5n
.sp 1
..
-.de HP \" Start an indented paragraph with a bold right-aligned label
+.de hP \" Start an indented paragraph with a bold right-aligned label
.IP
\fB\h'-\w'\\$1\ 'u'\\$1\ \fP\c
..
.\" --- Style hacking ---
.\"
.ie \n(.g \{\
-. fam P
-. ds mw \fR[\f(BImdw\fR]
+. fam P
+. ds mw \fR[\f(BImdw\fR]
.\}
-.el .ds mw \fR[\fBmdw\fR]
-.ie t .ds o \(bu
-.el .ds o o
+.el .ds mw \fR[\fBmdw\fR]
+.ie t .ds o \(bu
+.el .ds o o
.ds sw \fBsw\fP
.ds se \fBsw\-env\fP
-.\"
-.\" --- Main manual text ---
-.\"
+.
+.\"----- Main manual text ---------------------------------------------------
+.
.TH sw 1 "25 May 1999" "EBI tools"
.PD 1
-.\"
+.
+.\"--------------------------------------------------------------------------
+.
.SH NAME
+.
sw\-env \- environment variable assignment files for \*(sw.
-.\"
+.
+.\"--------------------------------------------------------------------------
+.
.SH DESCRIPTION
+.
A \*(se file is a sequence of statements. The following statements are
supported:
.sp 1
shell, although there are differences and irregularities due to the
quick and dirty nature of the parser. The various quoting and
substitution operations are described below.
+.
.SS "Statements"
+.
The statements behave as follows:
.TP
.B :
.I name
is read. Any value assigned to the variable named is discarded, and the
variable is forgotten.
+.
.SS "Value syntax"
+.
The parser usually reads a
.I value
a character by character, until it finds a delimiter. Delimiter
the author suspects that this would be too confusing. The standard
output of the command, with trailing newlines (but not internal or
leading newlines) removed, is the result of the substitution.
+.
+.\"--------------------------------------------------------------------------
+.
.SH AUTHOR
+.
The \*(sw program, and this manual, are \*(mw productions, in association
with the European Bioinformatics Institute. They were written by Mark
Wooding <mdw@nsict.org>. Go and ask him if you have problems.
+.
+.\"----- That's all, folks --------------------------------------------------