hal-fdi-validate(1M) System Administration Commands hal-fdi-validate(1M)NAME
hal-fdi-validate - validate HAL device information files
SYNOPSIS
hal-fdi-validate [-f dtd] file [file]...
DESCRIPTION
The hal-fdi-validate command validates one or more device information files. See fdi(4). The standard DTD file will be used unless the -f
option is used to specify a different file.
OPTIONS
The following option is supported:
-f dtd Specify path to a DTD file.
OPERANDS
The hal-fdi-validate command accepts the following operand(s):
file [file...] One or more DTD files to be validated.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWhalr |
+-----------------------------+-----------------------------+
|Interface Stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO hald(1M), fdi(4), attributes(5), hal(5)SunOS 5.11 28 Aug 2006 hal-fdi-validate(1M)
Check Out this Related Man Page
hal(5) Standards, Environments, and Macros hal(5)NAME
hal - overview of hardware abstraction layer
DESCRIPTION
The Hardware Abstraction Layer (HAL) provides a view of the various hardware attached to a system. This view is updated dynamically as
hardware configuration changes by means of hotplug or other mechanisms. HAL represents a piece of hardware as a device object. A device
object is identified by a unique identifer and carries a set of key/value pairs, referred to as device properties. Some properties are
derived from the actual hardware, some are merged from device information files (.fdi files), and some are related to the actual device
configuration.
HAL provides an easy-to-use API through D-Bus. D-Bus is an IPC framework that, among other features, provides a system-wide message-bus
that allows applications to talk to one another. Specifically, D-Bus provides asynchronous notification such that HAL can notify other
peers on the message-bus when devices are added and removed, as well as when properties on a device are changing.
In the Solaris operating system, HAL is supported by a daemon, hald(1M), and a set of utilities that enable the adding and removing of
devices and the modification of their properties.
SEE ALSO hald(1M), fdi(4)
See the HAL pages, including the HAL specification, under http://freedesktop.org.
SunOS 5.11 11 Sep 2006 hal(5)
how do i validate y script so that it only accepts values between 1 and 3 and against any character input, cause at the moment i can only validate against numbers outside 1 and 3 but not characters
cheers (4 Replies)
Hi
Do you have any pointers how to validate numbers (not to contain alphabets and special characters) and date(MM/DD/YYYY) format.
I used following regular expression to validate integer, which is not working in the default shell:
nodigits="$(echo $testvalue | sed 's/]//g')"
... (4 Replies)
Hello all,
I am having problem in writing a if condition for the following:
I have a file Instance.dat which has:
#Server Environment
server1 dev
server2 dev
server3 sit
#!/bin/ksh
ENV=dev
for i in $( cat Instances.dat | grep -v '#' |awk {'print $2'} )
do
if ]... (7 Replies)
Hello,
I have a file with a lot of record like below:
00001,CUSTR,CUSTOMER ADDRESS,02310,N,0:00,0,0,0,0,0,0,0,0,0,0,0,0:00,0,0,0,0,0,CSH,ACC
Can I validate each record in the file and output the incorrect result?
field 1 - customer number, should be "5 digit.
field 2 - should be 5... (9 Replies)
Dear guru's,
I am learning shellscripting and now I 'm struggeling with this problem:
When the number in the left column is equal or higer then 200, I want to send an email to "postmaster" @ the corresponding domain in the right column.
220 shoes.com
217 dishwashers.net
209 ... (11 Replies)
Hi, I have a small script which uses egrep and a set of regexes to validate an IP address, however, i want to make it so that if somebody puts a leading space in front of the IP address to be validated it will fail, so this is my script
#!/bin/bash
#function
ip_checker() {
result=$( echo... (4 Replies)
Hi,
I have a requirement wherein, I need to validate a user input of the numbers that are comma separated.
E.g . The input should be in the format 1,2,3...n (count of numbers is not known) . The user has to mention the input in this format, else it should exit from the program.
... (5 Replies)
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)
Hi,
I have 2 files.I want to check if file1 is contained in file2.
A.txt:
-----
AAA
BBB
B.txt:
------
CCC
AAA
BBB
DDD
I want to check if A.txt is contained in B.txt. Can it be done using SED ? (12 Replies)
Hi,
I am trying to copy a whole directory from my home /RUN1 to the external directory jorgensen@hal.oerc.ox.ac.uk:/home/compchem/jorgensen/simulations
The command I have used is:
scp -r jorgensen@hal.oerc.ox.ac.uk:/home/compchem/jorgensen/simulations
The error message I get is:
... (5 Replies)
Hi guys, I use this function which was provided to me by someone at this site. It works perfectly for validating a users input option against allowed options..
example:
validateInput "1" "1 3 4 5" would return 0 (success)
function validateInput {
input=$1
allowedInput=$2
for... (4 Replies)
Hi,
I trust that you are well - I'm a bit new into AIX and I've been assigned a task to write a script that will always validate between our two Prod (Prod A and Prod B) environments to confirm which prod we live at. The two environments are exact replicas and this check I need to put in... (5 Replies)
I'm trying to use a regular expression to validate a value for sleep entered by the user. The test should fail all negative values and 0 but let pass all combinations of + . and digits that would amount to a valid parameter for sleep.
Examples for valid: 1, 1.5, .5, 0.5, +1, +.5, +1.3 etc.... (9 Replies)