On Thu, 8 Nov 2001, Frank Heckenbach wrote:
Mirsad Todorovac wrote:
- grep -e:
p/test/test_run uses grep -e option that is not allowed in Solaris' default grep (I guess somebody in Sun likes archaeology):
/usr/bin/grep -e w
/usr/bin/grep: illegal option -- e Usage: grep -hblcnsviw pattern file . . .
Indeed, I've just noticed this problem the other day on Solaris myself. I'm attaching a corrected version.
I've tested the fix and it works.
- gawk, awk, nawk:
``awk'' and ``nawk'' don't seem to understand ``fflush'' function used in p/test/test_sum script - they break at it. If GNU gawk is not installed, editing of the script is required.
I'm trying to check if it works now (also attached). You might want to check if it works.
I've tried it and new script positively works where old one breaks.
- alpha-sof-4.0b/gawk:
On Alpha/OSF1/DU4.0b systems there is an ancient example of gawk installed in /usr/bin which neither understands long options, neither fflush() function (if it's GNU at all?), so the script breaks - I bailed out again with symlinking /usr/local/bin/gawk to ~/bin, but I feel it's kind of clumsy.
We don't use any long options, do we? So it also the fflush problem, or anything else?
No, we don't use long options, you're right here - and it *was* the fflush() problem; now I've tested your new script and it apparently has fixed the problem(s).
Of course, any help is very welcome. Thanks for these reports, BTW.
You're welcome. I was really happy when I learned about your GNU PASCAL project since I used it to program my highschool graduation thesis and I missed it very much when it wasn't on college servers (and it hasn't been used in classes, which I consider an error).
Best reagrds, Mirsad
-- This message has been made up using recycled ideas and language constructs. No plant or animal has been injured in process of making this message.