Unix Shell - Re: Nested if doesn´t work...

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > January 2006 > Re: Nested if doesn´t work...





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Nested if doesn´t work...
contracer11@gmail.com

2006-01-13, 10:40 pm

Ed Morton wrote:
> contracer11@gmail.com wrote:
>
> It's hard to tell with the line-wrapping, but it looks like the first
> line where you invoke awk ends in ">" and the file you're trying to
> direct it to (fnr0) is on the subsequent line.
>
> Ed.


In the original script, all data are in the same line:

vmcheckxxx -rt tld -rn 1 -list | awk '{ print $3, $1 }' > fnr0

vmcheckxxx -rt tld -rn 0 -list | awk '{ print $3, $1 }' >> fnr0

Thanks.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com