freebsd-ports/sysutils/moreutils/files/isutf8.1
Sunpoet Po-Chuan Hsieh 322e65b5b9 - Update to 0.51
- Fix shebang
- Simplify Makefile
- Add maintainer section

Changes:	http://joeyh.name/code/moreutils/news/version_0.51/
2014-02-28 15:15:55 +00:00

59 lines
2 KiB
Groff

'\" t
.\" Title: isutf8
.\" Author: Lars Wirzenius
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
.\" Date: 2006-02-19
.\" Manual: moreutils
.\" Source: moreutils
.\" Language: English
.\"
.TH "ISUTF8" "1" "2006\-02\-19" "moreutils" "moreutils"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
isutf8 \- check whether files are valid UTF\-8
.SH "SYNOPSIS"
.HP \w'\fBisutf8\fR\ 'u
\fBisutf8\fR [\fB\-hq\fR] [\fB\-\-help\fR] [\fB\-\-quiet\fR] [[\fIfile\fR...]]
.SH "DESCRIPTION"
.PP
\fBisutf8\fR
checks whether files are syntactically valid UTF\-8\&. Input is either files named on the command line, or the standard input\&. Notices about files with invalid UTF\-8 are printed to standard output\&.
.SH "OPTIONS"
.PP
\fB\-h\fR, \fB\-\-help\fR
.RS 4
Print out a help summary\&.
.RE
.PP
\fB\-q\fR, \fB\-\-quiet\fR
.RS 4
Don\*(Aqt print messages telling which files are invalid UTF\-8, merely indicate it with the exit status\&.
.RE
.SH "EXIT STATUS"
.PP
If the file is valid UTF\-8, the exit status is zero\&. If the file is not valid UTF\-8, or there is some error, the exit status is non\-zero\&.
.SH "AUTHOR"
.PP
Lars Wirzenius
.SH "SEE ALSO"
.PP
\fButf8\fR(7)