<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to support-requests</title><link>https://sourceforge.net/p/jawk/support-requests/</link><description>Recent changes to support-requests</description><atom:link href="https://sourceforge.net/p/jawk/support-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 15 Jul 2008 00:38:04 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/jawk/support-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>"system" command fails in a while getline loop</title><link>https://sourceforge.net/p/jawk/support-requests/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The following script runs identical to gawk except for the error message at the end of the output(on stderr, I used an editor to add it to the end of the stdout piped file for this bug submission).  Gawk runs with the same result, but no error...&lt;/p&gt;
&lt;p&gt;Error Example Script:&lt;/p&gt;
&lt;p&gt;BEGIN {&lt;br /&gt;
print "------------------------------------------------------------"&lt;br /&gt;
dir="cmd /c dir /b"&lt;/p&gt;
&lt;p&gt;while (( getline &amp;lt; system (dir) ) &amp;gt; 0) {&lt;br /&gt;
print $0&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;Result (Windows XP Pro SP2, Java JDK 1.6.0_06):&lt;br /&gt;
------------------------------------------------------------&lt;br /&gt;
getline.test&lt;br /&gt;
getline.test.gawk.out&lt;br /&gt;
getline.test.jawk.out&lt;br /&gt;
getline.test2&lt;br /&gt;
getline.test2.jawk.out&lt;br /&gt;
testp10.sv&lt;br /&gt;
testp10.sv.pdf&lt;br /&gt;
testp11.sv&lt;br /&gt;
testp11.sv.pdf&lt;br /&gt;
testp12.sv&lt;br /&gt;
testp12.sv.pdf&lt;br /&gt;
testp13.sv&lt;br /&gt;
testp13.sv.pdf&lt;br /&gt;
testp14.sv&lt;br /&gt;
testp14.sv.pdf&lt;br /&gt;
testp2.sv&lt;br /&gt;
testp2.sv.odot&lt;br /&gt;
testp2.sv.pdf&lt;br /&gt;
testp2.sv.svg&lt;br /&gt;
testp3.sv&lt;br /&gt;
testp3.sv.pdf&lt;br /&gt;
testp4.sv&lt;br /&gt;
testp4.sv.pdf&lt;br /&gt;
testp5.sv&lt;br /&gt;
testp5.sv.pdf&lt;br /&gt;
testp6.sv&lt;br /&gt;
testp6.sv.pdf&lt;br /&gt;
testp7.sv&lt;br /&gt;
testp7.sv.pdf&lt;br /&gt;
testp8.sv&lt;br /&gt;
testp8.sv.pdf&lt;br /&gt;
testp9.sv&lt;br /&gt;
testp9.sv.pdf&lt;br /&gt;
IO Exception: java.io.FileNotFoundException: 0 (The system cannot find the file&lt;br /&gt;
specified)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Hustead</dc:creator><pubDate>Tue, 15 Jul 2008 00:38:04 -0000</pubDate><guid>https://sourceforge.neteaa2a4dc68a05d3b9383ba4c0bdcb92160118f4c</guid></item></channel></rss>