<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to support-requests</title><link href="https://sourceforge.net/p/jawk/support-requests/" rel="alternate"/><link href="https://sourceforge.net/p/jawk/support-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/jawk/support-requests/</id><updated>2008-07-15T00:38:04Z</updated><subtitle>Recent changes to support-requests</subtitle><entry><title>"system" command fails in a while getline loop</title><link href="https://sourceforge.net/p/jawk/support-requests/1/" rel="alternate"/><published>2008-07-15T00:38:04Z</published><updated>2008-07-15T00:38:04Z</updated><author><name>Robert Hustead</name><uri>https://sourceforge.net/u/rehustead/</uri></author><id>https://sourceforge.neteaa2a4dc68a05d3b9383ba4c0bdcb92160118f4c</id><summary type="html">&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;</summary></entry></feed>