qse/ase/test/awk/emp-015.out

21 lines
273 B
Plaintext

(NF != 3) {
print $0,"number of fields is not equal to 3";
}
($2 < 3.35) {
print $0,"rate is below minimum wage";
}
($2 > 10) {
print $0,"rate exceeds $10 per hour";
}
($3 < 0) {
print $0,"negative hours worked";
}
($3 > 60) {
print $0,"too many hours worked";
}