Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

osinfo-db-validate(1) [centos man page]

OSINFO-DB-VALIDATE.C(1) 				      Virtualization Support					   OSINFO-DB-VALIDATE.C(1)

NAME
osinfo-db-validate - Validate libosinfo XML data files SYNOPSIS
osinfo-db-validate [OPTIONS...] LOCAL-PATH1 [LOCAL-PATH2...] osinfo-db-validate [OPTIONS...] URI1 [URI2...] DESCRIPTION
Check that all files ("LOCAL-PATH1" or "URI1") comply with the libosinfo XML schema. The local path may point to a directory containing XML files, or directly to an XML file. The uris must point directly to remote XML files Any validation errors will be displayed on the console when detected. OPTIONS
-v, --verbose Display verbose progress information when validating files EXIT STATUS
The exit status will be 0 if all files passed validation, or 1 if a validation error was hit. SEE ALSO
xmllint(1) AUTHORS
Daniel P. Berrange <berrange@redhat.com> COPYRIGHT
Copyright (C) 2012 Red Hat, Inc. LICENSE
"osinfo-db-validate" is distributed under the termsof the GNU LGPL v2+ license. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE libosinfo-0.2.7 2013-02-26 OSINFO-DB-VALIDATE.C(1)

Check Out this Related Man Page

OSINFO-DETECT.C(1)					      Virtualization Support						OSINFO-DETECT.C(1)

NAME
osinfo-detect - Detect the operating system on installable media or trees SYNOPSIS
osinfo-detect [OPTIONS...] PATH|URI DESCRIPTION
Examine the "PATH" or "URI" to determine what (if any) operating system it is for, and whether it is installable or is a Live image. By default "PATH" or "URI" will be interpreted as pointing to ISO media. To request examination of an install tree instead, the option "--type=tree" should be given. The output information is formatted for humans; to obtain machine readable output, the option "--format=env" should be given to produce shell-like key/value pairs. OPTIONS
--format=plain|env Switch between human readable output (plain, the default) or machine readable output (env). --type=media|tree Switch between looking for CD/DVD ISO media (media, the default) or install trees (tree) EXIT STATUS
The exit status will be 0 if an operating system was detected, or 1 if none was found. AUTHORS
Zeeshan Ali (Khattak) <zeeshanak@gnome.org>, Daniel P. Berrange <berrange@redhat.com> COPYRIGHT
Copyright (C) 2011-2012 Red Hat, Inc. LICENSE
"osinfo-detect" is distributed under the termsof the GNU LGPL v2 license. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE libosinfo-0.2.7 2013-04-10 OSINFO-DETECT.C(1)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

validate

hi need help here, a bit of code im doing requires a number to be enetered i have got validation and loop if its outside a ceratain range, but was wondering what code i need to validate if a character has been entered. cheers (3 Replies)
Discussion started by: ruffenator
3 Replies

2. Programming

character validation

how do i validate against charcaters in c ta (9 Replies)
Discussion started by: ruffenator
9 Replies

3. Shell Programming and Scripting

Validating $1 and $2 before using

Hi there, I'm trying to validate my $1 and $2 before I use them in the sqlplus update, I think I have the validation rules set correctly??? however when I test my script, it jumps straight into the sql. It doesn't seem to validate the vars....even when I know they are incorrect. if ; then ... (6 Replies)
Discussion started by: nhatch
6 Replies

4. Shell Programming and Scripting

Remote copying in loops

Hi, I had this doubt. I have a script, say abc.sh, which does remote copying of files through rcp, after validating the destination machine, user and directory. It also does a checksum validation to verify if the file is being copied correctly. Is it possible to call this script abc.sh in... (1 Reply)
Discussion started by: kamalamadhuri
1 Replies

5. UNIX for Dummies Questions & Answers

Data Validation

Hello, I am trying to use data validation with a program. I have everything else working fine. I just can't figure out what I am doing wrong with the data validation in one of my files. Here is the code: # data validation loop while : do # get input from keyboard ... (2 Replies)
Discussion started by: ericelysia
2 Replies

6. Shell Programming and Scripting

Problem with Date validation

Hi All, I've to validate a date input for the format YYYYMMDD. The input should be of 8 digits with only numeric values. I tried the following echo $1 | grep '^\{8}$/p' if then echo "Valid" else echo "invalid" I get the error, grep: RE error 16: Bad number. Any help... (3 Replies)
Discussion started by: sumesh.abraham
3 Replies

7. Shell Programming and Scripting

Help needed to validate and merge Two files

Hi.. I am new to unix !!! Please help me in combining two files by validating the first column. The files are tab limited !!! I have a file which has the following contents... DEPT1_BABYCARE 20 abce DEPT2_PHARMACY 50 cdgde DEPT3_WOMENS ... (7 Replies)
Discussion started by: ashokrajaa
7 Replies

8. Shell Programming and Scripting

Error while validaitng the XML file

Hi I am getting the below error message while validating the XML file using the XMLLINT utility in unix. Failed to validate type with facet pattern Regards (1 Reply)
Discussion started by: harneet2004us
1 Replies

9. UNIX for Dummies Questions & Answers

file name with timestamp validation

Hi , I am trying to write a shell script which will validate all .csv file names in a directory , my file name format is as below. CDR_SCAN_Report_YYYYMMDDHHMI.csv 1. I need to validate the name should start with CDR_SCAN_Report. 2. And the time stamp part is a valid time stamp,if it is... (1 Reply)
Discussion started by: shruthidwh
1 Replies

10. Shell Programming and Scripting

Need some help on scripting for validating the files before loading

Hi, I need to perform some validation steps on the files before I start loading them. 1. I need to check for the availabilty of the file in expected path with expected name. 2. I need to check If the file format is correct. a. confirm if correct delimiter is used. b.... (1 Reply)
Discussion started by: smileyreddy
1 Replies

11. AIX

Need Help _ Unix Script

Hello, I have one requirement. We are getting fixed length file with trailer record on it. We need to cleanse,validate and process the file. As part of validation we have to do duplicate file check based on file name and trailer record. I want to add the file name as last column to file,... (4 Replies)
Discussion started by: manasvi24
4 Replies

12. Shell Programming and Scripting

UNIX script to validate the export of a XML-formatted mapping

Can any one please share a unix script for validating the export of a mapping which is in XML format Any help would be great for me. Thanks (4 Replies)
Discussion started by: sampoorna
4 Replies

13. Shell Programming and Scripting

Tricky BASH quoting question

I have some data files that I can identify by a certain pattern in the names using find. Every one of those data files has an XML file associated with it (can be multiple data files per XML file). The XML file is always up one directory from the data file(s) in a folder calledRun##### -... (12 Replies)
Discussion started by: Michael Stora
12 Replies

14. Shell Programming and Scripting

Linux xmllint schema validation fails but error code 0

Command line xmllint --schema validation fails but $? returns 0 myinput.xml: <myinput><header>mytestvalue</header></myinput>myschema.xsd <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:element name="myinput" type="xsd:string"/> </xsd:schema>Command: $xmllint --schema... (4 Replies)
Discussion started by: mknag
4 Replies

15. Shell Programming and Scripting

Source data validation

I am using below logic to validate whether i am expecting the correct data from source,if not logic should give which column has error.i am running below logic in linux awk -F, ' NR==1{next} {f=" "} $1!~/^{0,5}$|^$/{f=f?f" emp_id-error":"emp_id-error"} $4!~/^{0,6}$|^$/{f=f?f"... (4 Replies)
Discussion started by: katakamvivek
4 Replies