{"id":5694,"date":"2014-04-05T05:32:21","date_gmt":"2014-04-05T05:32:21","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/05\/problem-about-comm-collection-of-common-programming-errors\/"},"modified":"2014-04-05T05:32:21","modified_gmt":"2014-04-05T05:32:21","slug":"problem-about-comm-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/05\/problem-about-comm-collection-of-common-programming-errors\/","title":{"rendered":"problem about comm-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/fb867640ddc6aee363d96530573845b0?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nstefan<br \/>\nbash find cluster comm<br \/>\nI have a script that&#8217;s supposed to get the list of files of two directories, get differences and execute some code for certain files.These are the commands to get the file lists:list_in=$(find input\/ -maxdepth 1 &#8211; type f | sed &#8216;s\/input\\\/\/\/&#8217; | sort -u); list_out=$(find output\/ -maxdepth 1 &#8211; type f | sed &#8216;s\/output\\\/\/\/&#8217; | sort -u);I execute the script in the correct directory, so this shouldn&#8217;t fail. The unprocessed files are determined bylist_todo=$(comm -23 &lt;(echo &#8220;$list_in&#8221;) &lt;(echo &#8220;$list_<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/6a35d74f4e5c15cd50cb45d3e517e4ca?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nKevin<br \/>\njava serial comm<br \/>\nI have a problem with comm ports in JAVA. I&#8217;m using Java version, 1.5 because that version still have access to windows COMM ports (serials).The problem is that the command throws the exception:javax.comm.PortInUseException: Port currently owned by Unknown Windows ApplicationThe thing is that the application opens the comm port for the first time, then I close the comm when the user exits some window. But the user may return to that window, and therefore I try to open again the same port:I close<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>stefan bash find cluster comm I have a script that&#8217;s supposed to get the list of files of two directories, get differences and execute some code for certain files.These are the commands to get the file lists:list_in=$(find input\/ -maxdepth 1 &#8211; type f | sed &#8216;s\/input\\\/\/\/&#8217; | sort -u); list_out=$(find output\/ -maxdepth 1 &#8211; type [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5694","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5694"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5694\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5694"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}