[CentOS] awk awk

Fri Dec 7 01:48:11 UTC 2012
yonatan pingle <yonatan.pingle at gmail.com>

On Fri, Dec 7, 2012 at 2:23 AM, Steve Brooks <steveb at mcs.st-and.ac.uk>wrote:

> > Why are you doing all that piping and grepping? And the -F" " confuses
> > me...oh, I see. First, whitespace is the default field separator in awk.
> > Then, are you asking if there's a line with a "." in it, or just any
> > non-whitespace? If the latter... mmm, I see, you *really* don't
> understand
> > awk.
> Ok Mark very nice of you to help Craig. He does not claim to be an expert
> in "awk" or even competent ---> Which is obviously why he is asking for
> help in the first place. No need for the sarcasm and to belittle the
> poster. Remember lots of people looking for help will be directed to this
> answer and your help could be much appreciated....
> Regards,
> Steve
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

Hello there!

The best Help for awk beginners is to implement it with other tools for now
if it's urgent,
and debug your syntax and regex code.

Start here:

You may also want to try and print awk to tty,
   start by that to debug your code until you find the solution


your main issue was, that you are asking about nginx.conf , which is not
part of the stock installation, and your file can look like anything
depending on custom configuration.

Best Regards,
Yonatan Pingle