Mail Archives: cygwin/1998/11/24/11:22:00
This is a multi-part message in MIME format.
------=_NextPart_000_0004_01BE179C.DD7DAA90
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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
------=_NextPart_000_0004_01BE179C.DD7DAA90
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.2106.6"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Hi,</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2>i try to develop some solutions with =
awk on a=20
Windows NT 4.0,</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>One of the features of awk on UNIX is to evaluate =
inputs=20
which</FONT></DIV>
<DIV><FONT size=3D2>i can receive from a pipe.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>But on NT i can't do so !</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>for example the following awk-script doesn't=20
work:</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2> {</FONT></DIV>
<DIV><FONT size=3D2> "ls =
-l | sort=20
-r " | getline xxx;</FONT></DIV>
<DIV><FONT size=3D2> print=20
xxx;</FONT></DIV>
<DIV><FONT size=3D2> }</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>The commands ls and sort do not work in that=20
example.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>On a Unix-System it works very well.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Please give me a little help....</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>CU</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Holger Kopf</FONT></DIV>
<DIV><FONT size=3D2>Germany</FONT></DIV></BODY></HTML>
------=_NextPart_000_0004_01BE179C.DD7DAA90--
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -