B20: problems with pipes in AWK !

Holger Kopf Holger.Kopf@datronic.de
Tue Nov 24 04:50:00 GMT 1998


Hi,
 
i try to develop some solutions with awk on a 
Windows NT 4.0,
 
One of the features of awk on UNIX is to evaluate inputs 
which
i can receive from a pipe.
 
But on NT i can't do so !
 
for example the following awk-script doesn't 
work:
 
    {
        "ls -l | sort 
-r " | getline xxx;
        print 
xxx;
    }
 
The commands ls and sort do not work in that 
example.
 
On a Unix-System it works very well.
 
Please give me a little help....
 
 
CU
 
Holger Kopf
Germany



More information about the Cygwin mailing list