[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

docs-common/bin doctype,NONE,1.1



Author: jtr

Update of /cvs/docs/docs-common/bin
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31510/bin

Added Files:
	doctype 
Log Message:
Moved from "packaging/" to "bin/" directory.



--- NEW FILE doctype ---
#!/bin/sh
########################################################################
# Script to print the document type, without needing the XML document
# to validate.  Get the document type from the first argument to the
# <!DOCTYPE> element, which should be either "book" or "article".
#
# Use it like this:
# doctype file.xml
#
# If you know the XML file WILL VALIDATE, you may use the "doctype.xsl"
# script instead.  If not, use this one
########################################################################
egrep '^[[:space:]]*<!DOCTYPE' $*					|
awk '{print $2 "info"}'


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]