github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jneitzel / v6shell

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 2
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Wiki (4)
  • Graphs
  • Tag: release.osh-20100228

click here to add a description

click here to add a homepage

  • Switch Branches (15)
    • master
    • osh-20070321
    • osh-20070324
    • osh-20070707
    • osh-20080109
    • osh-20080629
    • osh-20081026
    • osh-20081122
    • osh-20081213
    • osh-20090527
    • osh-20091029
    • osh-20091122
    • osh-20091127
    • osh-20091218
    • osh-20100228
  • Switch Tags (14)
    • release.osh-20100228
    • release.osh-20091218
    • release.osh-20091127
    • release.osh-20091122
    • release.osh-20091029
    • osh-20090527
    • osh-20081213
    • osh-20081122
    • osh-20081026
    • osh-20080629
    • osh-20080109
    • osh-20070707
    • osh-20070324
    • osh-20070321
  • Branch List
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

V6 Thompson Shell Port — Read more

  Cancel

http://v6shell.org/

  Cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Zero out GIT.LOG & remove reference to it from C* files. 
jneitzel (author)
Sun Feb 28 13:31:43 -0800 2010
commit  7ee5017cf6f41b7c24427b7b785e9447a64925a2
tree    ebf57dd05fa7228d1668f5c052e9cb867258ec7d
parent  eae731f5b068d7b0576d7cbe3bcf487df15ec7fe
v6shell / goto.1 goto.1
100644 141 lines (139 sloc) 5.02 kb
edit raw blame history
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
.\"
.\" Copyright (c) 2004-2010
.\" Jeffrey Allen Neitzel <jan (at) v6shell (dot) org>.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\"
.\" THIS SOFTWARE IS PROVIDED BY JEFFREY ALLEN NEITZEL ``AS IS'', AND ANY
.\" EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
.\" DISCLAIMED. IN NO EVENT SHALL JEFFREY ALLEN NEITZEL BE LIABLE FOR ANY
.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
.\" USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\" @(#)$Id$
.\"
.\" Derived from: Sixth Edition UNIX /usr/man/man1/goto.1
.\"
.\" Copyright (C) Caldera International Inc. 2001-2002. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code and documentation must retain the above
.\" copyright notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgement:
.\" This product includes software developed or owned by Caldera
.\" International, Inc.
.\" 4. Neither the name of Caldera International, Inc. nor the names of other
.\" contributors may be used to endorse or promote products derived from
.\" this software without specific prior written permission.
.\"
.\" USE OF THE SOFTWARE PROVIDED FOR UNDER THIS LICENSE BY CALDERA
.\" INTERNATIONAL, INC. AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
.\" IN NO EVENT SHALL CALDERA INTERNATIONAL, INC. BE LIABLE FOR ANY DIRECT,
.\" INDIRECT INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
.\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.TH GOTO 1 "@OSH_DATE@" "@OSH_VERSION@" "General Commands"
.SH NAME
goto \- transfer command
.SH SYNOPSIS
.BI
.B goto
\fIlabel\fR [\fI...\fR]
.SH DESCRIPTION
.I Goto
is allowed only when the shell is taking
commands from a seekable command file (see
.IR lseek (2)).
.PP
The entire command file is searched for a line beginning
with a \fB:\fR as the first non-blank character,
followed by one or more blanks,
and then the
.IR label .
If such a line is found,
.I goto
repositions the command-file offset to
the line after the label and exits.
This effectively causes the shell to transfer
to the labelled line.
.PP
\fB:\fR is a special command which causes
the shell to do nothing.
.SH "EXIT STATUS"
The
.I goto
command exits with one of the following values:
.TP
0
The label was found.
.TP
1
The label was not found.
.TP
2
An error was detected.
.SH "SEE ALSO"
if(1),
osh(1),
sh6(1)
.PP
Osh home page:
http://v6shell.org/
.SH COMPATIBILITY
The
.I goto
command from Sixth Edition UNIX
requires \fB:\fR to be the first character
on the labelled line.
Otherwise,
the label cannot be found.
.PP
This port differs in that \fB:\fR may be preceded by blanks.
This allows labelled lines to be indented so that complex
command files might be easier to read and understand.
.SH HISTORY
A
.I goto
command
appeared as
.I /bin/goto
in Third Edition UNIX.
.SH LICENSE
See either the LICENSE file which is distributed with
.I osh
or
http://v6shell.org/license/
for full details.
.SH COPYRIGHT
.nf
Copyright (c) 2004-2010
Jeffrey Allen Neitzel. All rights reserved.
 
Copyright (c) 2001-2002
Caldera International Inc. All rights reserved.
.fi
 
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server