XML-FILE
XML-FILE
NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXIT STATUS
EXAMPLE
BUGS
AUTHORS
SEE ALSO
NAME
xml-file
− determine type of XML files.
SYNOPSIS
DESCRIPTION
xml-file
searches the initial part of each FILE in an attempt to
identify it, printing the result to the standard output.
xml-file
is not a replacement for file(1), and only attempts
to identify XML files, not other types of files, and cannot
guarantee that a file is well formed or valid, since only
the initial part is inspected.
OPTIONS
--show-everything
Show all the data collected
from the file.
EXIT STATUS
xml-file
returns 0 on success, or 1 otherwise.
EXAMPLE
Make a list of
XML files in the current directory:
% xml-file * | grep -v unrecognized | cut -f1 -d ’:’
BUGS
There is no
local magic file that contains all the identification
rules.
AUTHORS
Laird
A. Breyer is the original author of this software. The
source code (GPLv3 or later) for the latest version is
available at the following locations:
http://www.lbreyer.com/gpl.html
http://xml-coreutils.sourceforge.net
SEE ALSO
xml-coreutils(7)
|