Annotation of docbook2mdoc/docbook2mdoc.1, Revision 1.1
1.1 ! kristaps 1: .\" $Id: pod2mdoc.1,v 1.6 2014/03/24 01:43:42 kristaps Exp $
! 2: .\"
! 3: .\" Copyright (c) 2014 Kristaps Dzonsons <kristaps@bsd.lv>
! 4: .\"
! 5: .\" Permission to use, copy, modify, and distribute this software for any
! 6: .\" purpose with or without fee is hereby granted, provided that the above
! 7: .\" copyright notice and this permission notice appear in all copies.
! 8: .\"
! 9: .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
! 10: .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
! 11: .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
! 12: .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
! 13: .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
! 14: .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
! 15: .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
! 16: .\"
! 17: .Dd $Mdocdate: March 24 2014 $
! 18: .Dt DOCBOOK2MDOC 1
! 19: .Os
! 20: .Sh NAME
! 21: .Nm docbook2mdoc
! 22: .Nd Convert DocBook refentry to mdoc
! 23: .Sh SYNOPSIS
! 24: .Nm docbook2man
! 25: .Op Ar file
! 26: .Sh DESCRIPTION
! 27: The
! 28: .Nm
! 29: utility reads
! 30: .Ar file
! 31: and
! 32: generates
! 33: .Xr mdoc 7
! 34: from the
! 35: .Aq refentry
! 36: section of DocBook source.
! 37: If unspecified or
! 38: .Ar \&- ,
! 39: .Ar file
! 40: is taken to be standard input.
! 41: It accepts no arguments.
! 42: .Sh EXIT STATUS
! 43: .Ex -std
! 44: .Sh EXAMPLES
! 45: To pipe a DocBook document
! 46: .Pa foo.xml
! 47: through
! 48: .Xr mandoc 1
! 49: and a pager:
! 50: .Pp
! 51: .Dl % docbook2mdoc foo.xml | mandoc | more
! 52: .Sh SEE ALSO
! 53: .Xr mandoc 1 ,
! 54: .Xr mdoc 7
! 55: .Sh AUTHORS
! 56: .Nm
! 57: was written by
! 58: .Ar Kristaps Dzonsons ,
! 59: .Mt kristaps@bsd.lv .
! 60: .Sh CAVEATS
! 61: The
! 62: .Nm
! 63: utility is experimental.
! 64: As such, only a small subset of the
! 65: .Aq refentry
! 66: domain is accepted.
CVSweb