Re: awk awk

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



On Fri, Dec 7, 2012 at 2:23 AM, Steve Brooks <steveb@xxxxxxxxxxxxxxxx>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@xxxxxxxxxx
> 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:
http://www.unix.com/man-page/linux/1/sed/

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

http://www.staff.science.uu.nl/~oostr102/docs/nawk/nawk_92.html

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
RHCT | RHCSA | CCNA1
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux