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