View Single Post
  #3  
Old 03-26-2007, 07:58 PM
unix unix is offline
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: AWK for Windows XP?

Matthias Tacke wrote:
>
> http://gnuwin32.sourceforge.net/packages/gawk.htm
> http://unxutils.sourceforge.net/


Matthias,

Thanks a million for this links. I have tried the following command:

C:\test>cat test.txt | gawk '{ print $11 }'
gawk: cmd. line:1: '{
gawk: cmd. line:1: ^ invalid char ''' in expression
cat: write error: Invalid argument

What am I doing wrong here? I want to display the 11th column of the
test.txt file.

Regards,
Aleu
Reply With Quote