badpoint_check

Test a name for memebership in a list of names contained in an input file.

 

% badpoint_check --help 
Help Information for:  badpoint_check

Usage: badpoint_check 70 Bad.PointNames  
arg1 = test name (can be any string)
arg2 = file listing names for match testing 

badpoint_check:
  Test twhther the input name (agr1) matches a name in the 
file of names (arg2). If the name hits a match, then the 
answer is "Y". If not, the answer is "N". 

Examples: 
% cat Bad.PointNames
70
boodle
test1

% badpoint_check 70 Bad.PointNames
Y

% badpoint_check boodle Bad.PointNames
Y

% badpoint_check tnam1 Bad.PointNames
N




Back to SCO CODES page