Added Cyg-Win
This commit is contained in:
parent
82cbc206eb
commit
413c315806
10586 changed files with 3806249 additions and 0 deletions
18
Agent-Windows/OGP64/usr/share/awk/isnumeric.awk
Normal file
18
Agent-Windows/OGP64/usr/share/awk/isnumeric.awk
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# This file and how to use it are described in the manual.
|
||||
# Therefore, we respectfully advise you to Read The Fine Manual
|
||||
# for more information.
|
||||
|
||||
# isnumeric --- check whether a value is numeric
|
||||
|
||||
function isnumeric(x, f)
|
||||
{
|
||||
switch (typeof(x)) {
|
||||
case "strnum":
|
||||
case "number":
|
||||
return 1
|
||||
case "string":
|
||||
return (split(x, f, " ") == 1) && (typeof(f[1]) == "strnum")
|
||||
default:
|
||||
return 0
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue