Hi,
I have a file like this
(ADD_MONTHS((Substr(Trim(BOTH FROM Translate(Maximum(closeDa
------------------------------------------------------------
2007-06-30 00:00:00
I have a requirement where i need just the date.
When i do: tail -1... (2 Replies)
Hello, I am trying to write a script that will calculate the amount of data remaining in a storage volume. I'm running Tru64 Unix version 5.1B patch kit 6. The script is being run against an AdvFS domain. I am programming in Korn Shell version M-11/16/88f.
The basic idea is that I want to run df... (3 Replies)
I have a string "disk0 with a trailing white space after it" but I want to get rid of this white space from right to left so that I am left with "disk0" only.
Using sed 's/ $//g' doesn't seem to work
Any ideas ?
Thanks (5 Replies)
Hi
I am trying to remove trailing space from a string.
value=${value%% }
It is not working. What might be the issue with the above snippet. (7 Replies)
Platform : RHEL 5.8
I want to end each line of this file with a single quote.
$ cat hello.txt
blueskies
minnie
mickey
gravity
snoopyAt VI editor's command mode, I have used the following command to replace the last character with a single quote.
~
~
~
:%s/$/'/gNow, the lines in the... (10 Replies)
I have some strings such as
ABC1
ABC2
TYFASDD12
They will only have letters and numbers. In each case I want to remove the last digit? The lengths will vary. So a hard coded substr won't work. What do I do?
if it doesn't end in a number, I don't want to remove any characters. (6 Replies)
I have a folder that contains many sub folders and files. This tree has to be backed up to an archive system. According to the tech support, one of the archives is failing to back up due to the possibility of trailing spaces on file and folder names. Therefore, I would like to have a script... (16 Replies)
hi,
I'm trying to calculate IP addresses and their respective calls to our apache Server. The standard format of the input is
HOST IP DATE/TIME - - "GET/POST reuest" "User Agent"
HOST IP DATE/TIME - - "GET/POST reuest" "User Agent"
HOST IP DATE/TIME - - "GET/POST reuest" "User Agent"
HOST... (2 Replies)
Discussion started by: busyboy
2 Replies
LEARN ABOUT DEBIAN
mono-xmltool
mono-xmltool(Mono 1.0) mono-xmltool(Mono 1.0)
NAME
mono-xmltool - Mono XML validation and transformation tool.
SYNOPSIS
mono-xmltool --validate [*.rng | *.rnc | *.nvdl | *.xsd] [instances]
mono-xmltool --validate-rng relax-ng-grammar-xml [instances]
mono-xmltool --validate-rnc relax-ng-compact-grammar-file [instances]
mono-xmltool --validate-nvdl nvdl-script-xml [instances]
mono-xmltool --validate-xsd xml-schema [instances]
mono-xmltool --transform stylesheet instance-xml
mono-xmltool --prettyprint [source [result]]
DESCRIPTION
mono-xmltool is a command line front end for various functions available in the Mono XML class libraries. It currently it offers validation
with various different kinds of schemas, xslt transformations and pretty printing.
XML VALIDATION
mono-xmltool can validate a given set of XML files (the instances parameter) using the given schema file. Currently supported schema files
include Relax NG (*.rng), Compact Relax NG (*.rnc), Namespace-based Validation Dispatching Language (*.nvdl) and XML Schema (*.xsd).
If invoked with the --validate argument, Mono will use the filename extension to guess the kind of validation required. The --validate-xxx
flags would force a specific kind of validation.
The following lists the flags and the actual class that implements them in Mono:
--validate-rng
Commons.Xml.Relaxng.RelaxNgPattern as the schema, and Commons.Xml.Relaxng.RelaxngValidatingReader validator.
--validate-rnc
Commons.Xml.Relaxng.RncParser as the schema, and Commons.Xml.Relaxng.RelaxngValidatingReader validator.
--validate-nvdl
Commons.Xml.Nvdl as the schema and Commons.Xml.NvdlValidatingReader validator.
--validate-xsd
System.Xml.Schema.XmlSchema as the schema and uses System.Xml.XmlValidatingReader as the validator.
TRANSFORMATIONS
This does an XSLT transformation. The stylesheet must be an XSLT file, the instance-xml is the document to be processed. Output it sent to
the standard output.
PRETTY PRINTING
Produces a pretty-print rendering of the source file. If it is not specified it reads the standard input. If result is not specified,
the output is sent to the standard output.
MAILING LISTS
Mailing lists are listed at the http://www.mono-project.com/Mailing_Lists
WEB SITE
http://www.mono-project.com
SEE ALSO mono(1),mcs(1).
mono-xmltool(Mono 1.0)