CompuServe Thread

#AWK question

5 messages in this thread
#19615From: Rob SalmonJan 29, 1992 2:30 AM
Anybody take an AT&T7300 question? Assume the following command: awk '/FLTHOSP5/ /\t6510-/ ' /usr/neuro |tee /dev/tty |cat -u>>list Is "\t6510-" the correct way to specify a field that begins with "6510-" immediately following a tabstop field delimiter? I'm trying to avoid finding "6510-" preceded by characters and then a space, which could occur in differing ways in another field. I would ask this in the unix forum, but they sneer at 7300's 🙂 Thanks, Rob.
#19634From: Greg Comeau@Comeau CmptgJan 29, 1992 3:36 PM
I've seen "them" answer 7300 questions before. In any event, this is awk specific. Anyway, the /\t6510-/ is just fine.
#19640From: Rob SalmonJan 29, 1992 3:52 PM
Maybe I read too much into what seems like unhelpful commentary in that forum. Thanks for your reply.
#19659From: Bill ThompsonJan 29, 1992 10:35 PM
That appears correct, but then I don't use awk all that much. None the less, it follow the basic rules of regular expressions. ..Bill 😉
#19740From: Rob SalmonJan 31, 1992 2:27 AM
I got a copy of "The AWK Programming Language" by A, K, and W themselves today. Many things are already clearer. 🙂