form_variables(3X)form_variables(3X)NAME
TYPE_ALNUM, TYPE_ALPHA, TYPE_ENUM, TYPE_INTEGER, TYPE_IPV4, TYPE_NUMERIC, TYPE_REGEXP - form system global variables
SYNOPSIS
#include <form.h>
FIELDTYPE * TYPE_ALNUM;
FIELDTYPE * TYPE_ALPHA;
FIELDTYPE * TYPE_ENUM;
FIELDTYPE * TYPE_INTEGER;
FIELDTYPE * TYPE_IPV4;
FIELDTYPE * TYPE_NUMERIC;
FIELDTYPE * TYPE_REGEXP;
DESCRIPTION
These are building blocks for the form library, defining fields that can be created using set_fieldtype(3X). Each provides functions for
field- and character-validation, according to the given datatype.
TYPE_ALNUM
This holds alphanumeric data.
TYPE_ALPHA
This holds alphabetic data.
TYPE_ENUM
This holds an enumerated type.
TYPE_INTEGER
This holds a decimal integer.
TYPE_IPV4
This holds an IPv4 internet address, e.g., "127.0.0.1".
TYPE_NUMERIC
This holds a decimal number, with optional sign and decimal point.
TYPE_REGEXP
This holds a regular expression.
PORTABILITY
The TYPE_IPV4 variable is an extension not provided by older implementations of the form library.
SEE ALSO form(3X).
form_variables(3X)
Check Out this Related Man Page
form_variables(3FORM)form_variables(3FORM)NAME
TYPE_ALNUM, TYPE_ALPHA, TYPE_ENUM, TYPE_INTEGER, TYPE_IPV4, TYPE_NUMERIC, TYPE_REGEXP - form system global variables
SYNOPSIS
#include <form.h>
FIELDTYPE * TYPE_ALNUM;
FIELDTYPE * TYPE_ALPHA;
FIELDTYPE * TYPE_ENUM;
FIELDTYPE * TYPE_INTEGER;
FIELDTYPE * TYPE_IPV4;
FIELDTYPE * TYPE_NUMERIC;
FIELDTYPE * TYPE_REGEXP;
DESCRIPTION
These are building blocks for the form library, defining fields that can be created using set_fieldtype(3X). Each provides functions for
field- and character-validation, according to the given datatype.
TYPE_ALNUM
This holds alphanumeric data.
TYPE_ALPHA
This holds alphabetic data.
TYPE_ENUM
This holds an enumerated type.
TYPE_INTEGER
This holds a decimal integer.
TYPE_IPV4
This holds an IPv4 internet address, e.g., "127.0.0.1".
TYPE_NUMERIC
This holds a decimal number, with optional sign and decimal point.
TYPE_REGEXP
This holds a regular expression.
PORTABILITY
The TYPE_IPV4 variable is an extension not provided by older implementations of the form library.
SEE ALSO form(3FORM).
form_variables(3FORM)
I have a script which reads from a job file and executed the scripts in the job file in sequence.
#! /bin/ksh
set -x
while read line
do
$line.ksh
if
# mail the team
fi
done <"$file"
The job file will be like
abcd
efgh
ijkl
mnop
qrst
This is working fine. I need to add... (2 Replies)
Hi,
I am new in shell scripting. i want to extract tag values in xml files by using shell script. my files like this:
<cw: properties>
<cw:std_properties>
<tns: properties>
<tns:name>AdminOutQueue</tns:name>
<tns:type>String</tns:type>
<tns:subtype>QueueName</tns:subtype>
<tns:value... (25 Replies)
I am trying to use awk skip each line with a ## or # and check each line after for STB= and if that value in greater than or = to 0.8, then at the end of line the text "STRAND BIAS" is written in else "GOOD".
So in the file of 4 entries attached.
awk tried:
awk NR > "##"' "#" -F"STB="... (6 Replies)
I am trying to add a condition to the below perl that will capture the GTtag and place a specific string in the last field of each line. The problem is that the GT value used is not right after the tag rather it is a few fields away. The values should always be 0/1 or 1/2 and are in bold in the... (12 Replies)
The below awk uses $3 and $4 in search as the min and max, then takes each $2 value in lookup and compares it. If the value in lookupfalls within the range in searchthen it prints the entire line in lookup/ICODE]. What I can't seem to figure out is how to print the matching $5 from search on that... (4 Replies)
I am starting to write a multi-line awk and using the file below which is
tab-delimited, print only the line with oncomineGeneClass
and oncomineVariantClass and PASS. The script execute but
seems to be printing the entire file, not the desired line. Thank you :).
file
... (8 Replies)
I have a number of text tab files in my directory named 1.vcf 2.vcf etc. Each file file has headers of 120-130 rows starting with "#", it looks like this
...
##contig=<ID=GL000194.1,length=191469,assembly=hg19>
##contig=<ID=GL000225.1,length=211173,assembly=hg19>... (7 Replies)
In the awk below which does execute I get output that is close, except for all the lines that start with a # are removed. Some lines have one others two or three and after the script adds the
ID= to the fields below the pattern in the awk, I can not seem to add the # lines back to the output. ... (5 Replies)
In the awk below I am trying to print only the header lines starting with # or ## and the lines that $7 is PASS and AF= is less than 5%. The awk does execute but returns an empty file and I am not sure what I am doing wrong. Thank you.
file
... (0 Replies)
As it was ultimately Don Craguns idea that saved the whole project i can as well give something back to the community. This is my stanza file parser, which was written only using ksh without any external programs.
The stanza structure
There is some inconsistency as to what exactly is meant by... (0 Replies)
Recently, I replaced a codec and amplifier on an older embedded system. It required minor changes to the machine startup code, a new timing crystal and minor alterations to the machine driver. The old amp had a MODE pin which was being used as a mute function and the new amp has a dedicated SHDN... (0 Replies)