- w++;
- if (w[1] == 't')
- {
- switch (w[0])
- {
- case 'n': value = filecomp (argv[pos], argv[pos + 2], NT); break;
- case 'o': value = filecomp (argv[pos], argv[pos + 2], OT); break;
- case 'l': value = arithcomp (argv[pos], argv[pos + 2], LT); break;
- case 'g': value = arithcomp (argv[pos], argv[pos + 2], GT); break;
- default: test_syntax_error ("-%s: binary operator expected", w);
- }
- }
- else if (w[0] == 'e')
- {
- switch (w[1])
- {
- case 'q': value = arithcomp (argv[pos], argv[pos + 2], EQ); break;
- case 'f': value = filecomp (argv[pos], argv[pos + 2], EF); break;
- default: test_syntax_error ("-%s: binary operator expected", w);
- }
- }
- else if (w[1] == 'e')
- {
- switch (w[0])
- {
- case 'n': value = arithcomp (argv[pos], argv[pos + 2], NE); break;
- case 'g': value = arithcomp (argv[pos], argv[pos + 2], GE); break;
- case 'l': value = arithcomp (argv[pos], argv[pos + 2], LE); break;
- default: test_syntax_error ("-%s: binary operator expected", w);
- }
- }
- else
- test_syntax_error ("-%s: binary operator expected", w);
-