[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command line assistance for awk functions

From: Dennis Williamson
Subject: Re: Command line assistance for awk functions
Date: Wed, 8 Mar 2023 11:00:31 -0600

On Wed, Mar 8, 2023 at 10:32 AM goncholden <>

> ------- Original Message -------
> On Thursday, March 9th, 2023 at 2:36 AM, <
>> wrote:
> > Here are the man pages for awk online - you can also look up things as
> you need to do them, or you can even use openai in the terminal to write
> awk for you :)
> Very funny, but you miss the whole point.  If you do not know what to do,
> simply say
> "I do not know" !
It wasn't clear from your original message that you wanted to document
user-written functions rather than builtin ones.

Please see
which includes a function for processing command line arguments (getopt)
written in Gawk (it may be portable to other AWKs).

You can use it to create a help dispatch function that calls various other
functions to output help, usage or other documentation. So you could have:

myprog -h myfoo

call myfoodoc to output documentation on myfoo for example.

AWK is beyond the scope of this list which covers Bash.

Visit to get your system administration questions answered.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]