This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

B20: problems with pipes in AWK !


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]