MEGGIN@vm.epas.utoronto.CA (David Megginson) (09/19/89)
I have been trying out the new AWK for the ST, and I have a couple of
problems. First, when I change to record separator to, say, ".", AWK
takes every newline as a field. According to the AWK book, "^n" should
always be a field separator, no matter what RS and FS are set to. I have
tried removing CRs and removing LFs, but to no avail.
Second, AWK can use a program on its command line only when there are
no spaces in the program. awk '{print}' ... or awk '/person/' ...
word, but not awk '{print $2}'. I have tried running it from a CLI and
from the TTP dialog. Is there any way to keep AWK from splitting the
program into fields when it processes the command line?
I would appreciate any help. Please respond directly as well as to the
newsgroup, since I read the news on BITNET and have to wait quite a few
days for new messages. Thanks.
David Megginson (MEGGIN@VM.EPAS.UTORONTO.CA)