suntouch-manpages.pl revision 90
40N/A# Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. 40N/A# Use subject to license terms. 40N/A# Permission is hereby granted, free of charge, to any person obtaining a 40N/A# copy of this software and associated documentation files (the 40N/A# "Software"), to deal in the Software without restriction, including 40N/A# without limitation the rights to use, copy, modify, merge, publish, 40N/A# distribute, and/or sell copies of the Software, and to permit persons 40N/A# to whom the Software is furnished to do so, provided that the above 40N/A# copyright notice(s) and this permission notice appear in all copies of 40N/A# the Software and that both the above copyright notice(s) and this 40N/A# permission notice appear in supporting documentation. 40N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 40N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 40N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 40N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 40N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 40N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING 40N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 40N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION 40N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 40N/A# Except as contained in this notice, the name of a copyright holder 40N/A# shall not be used in advertising or otherwise to promote the sale, use 40N/A# or other dealings in this Software without prior written authorization 40N/A# of the copyright holder. 40N/A# Updates manual pages to include standard Sun man page sections 40N/A# -a '{attribute, value}, ...' - entries for Attributes section table 40N/A# -l libname - add library line to synopsis 47N/A# -p path - add path to command in synopsis 40N/A ||
die "Cannot rename $filename to $filename.orig";
40N/A ||
die "Cannot read $filename.orig";
40N/A ||
die "Cannot write to $filename";
40N/A # Check for man page preprocessor list - if found, make sure t is in it for 40N/A # table processing, if not found, add one; 40N/A # Found preprocessor list 40N/A # Do nothing - tbl preprocessing already selected 40N/A # No preprocessor list found 40N/A.\\
" Begin Sun update 40N/A # Parse input list of attributes