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