Is there a database built into the base system
RW
rwmaillists at googlemail.com
Sat Apr 8 13:55:08 UTC 2017
On Fri, 07 Apr 2017 21:34:17 -0400
Ernie Luzar wrote:
he op I have been reading all the replies. I know that awk
> exists, but never used it because the man page is so hard to
> understand. I like this manual but this online version is hard to
> navigate.
I were you I'd start by looking for a shorter tutorial with some good
examples.
What's nice about awk is the way it's optimized for use in pipelines.
You can run a series of action (blocks of code) against each line, each
action can be preceded by an optional test. There also a BEGIN{} block
where you can do initialization and an END{} block where you can tie
things up. If you don't want to use it that way you can simply put all
the code inside BEGIN{}.
Beyond this unusual structure it's a pretty straightforward scripting
language.
More information about the freebsd-questions
mailing list