Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

type_integer(3x) [centos man page]

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)
Man Page

11 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Read a file from the nth line on

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)
Discussion started by: nw2unx123
2 Replies

2. UNIX for Advanced & Expert Users

XML parsing by UNIX

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)
Discussion started by: arindam guha
25 Replies

3. Shell Programming and Scripting

awk to skip lines find text and add text based on number

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)
Discussion started by: cmccabe
6 Replies

4. Shell Programming and Scripting

Add specific string to last field of each line in perl based on value

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)
Discussion started by: cmccabe
12 Replies

5. Shell Programming and Scripting

awk to print field from lookup file in output

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)
Discussion started by: cmccabe
4 Replies

6. Shell Programming and Scripting

awk to print line based on two keywords

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)
Discussion started by: cmccabe
8 Replies

7. UNIX for Beginners Questions & Answers

Check ID in a file matches to the name of the file

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)
Discussion started by: nans
7 Replies

8. Shell Programming and Scripting

awk to add lines with symbol to output file

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)
Discussion started by: cmccabe
5 Replies

9. Shell Programming and Scripting

Print header and lines that meet both conditions in awk

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)
Discussion started by: cmccabe
0 Replies

10. Shell Programming and Scripting

A Stanza File Parser in Pure ksh

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)
Discussion started by: bakunin
0 Replies

11. UNIX for Beginners Questions & Answers

Alsactl store function

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)
Discussion started by: Circuits
0 Replies