3
#########################################################################
5
# The Contents of this file are made available subject to the terms of
6
# the Sun Industry Standards Source License Version 1.2
8
# Sun Microsystems Inc., March, 2001
11
# Sun Industry Standards Source License Version 1.2
12
# =================================================
13
# The contents of this file are subject to the Sun Industry Standards
14
# Source License Version 1.2 (the "License"); You may not use this file
15
# except in compliance with the License. You may obtain a copy of the
16
# License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html
18
# Software provided under this License is provided on an "AS IS" basis,
19
# WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
20
# WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
21
# MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
22
# See the License for the specific provisions governing your rights and
23
# obligations concerning the Software.
25
# The Initial Developer of the Original Code is: Sun Microsystems, Inc.
27
# Copyright: 2001 by Sun Microsystems, Inc.
29
# All Rights Reserved.
31
#########################################################################
33
# This script creates a preformated, line numbered HTML segment from a
37
# mk_html_example.pl sourcefile
40
# mk_html_example.pl libs/japi/howto/howto1.c
42
#########################################################################
52
open (FILE, "<$file");
56
if (m#/\*___INFO__MARK_END__\*/#) {
69
print "This file does not contain an /*___INFO__MARK_END__*/ line.\n";
78
} while (int ($count) > 0);
82
open (FILE, "<$file");
86
if (m#/\*___INFO__MARK_END__\*/#) {
113
print "mk_html_example.pl sourcefile\n";
117
$diff = $num_figs - length ($count + 1);
119
for (;$diff > 0; $diff--) {
b'\\ No newline at end of file'