fi
name=$(echo $1 | tr A-Z a-z)
-if ! echo "$name" | grep -q '^[a-z][a-z0-9_]*$' \
+if ! echo "$name" | grep -q '^[a-z0-9_]\+$' \
|| ! [ $(echo "$name" | wc -l) = 1 ]; then
echo "ERROR: invalid name -- \"$name\"" >&2
exit 1
}
nol_insert && !nol_inserted && /NOL_INSERT/ {
- if ($1 > nol_compare) {
- print nol_string;
+ if ($1 >= nol_compare) {
+ if ($1 > nol_compare)
+ print nol_string;
nol_inserted = 1;
}
}