problem about comm-Collection of common programming errors


  • stefan
    bash find cluster comm
    I have a script that’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 – type f | sed ‘s/input\///’ | sort -u); list_out=$(find output/ -maxdepth 1 – type f | sed ‘s/output\///’ | sort -u);I execute the script in the correct directory, so this shouldn’t fail. The unprocessed files are determined bylist_todo=$(comm -23 <(echo “$list_in”) <(echo “$list_

  • Kevin
    java serial comm
    I have a problem with comm ports in JAVA. I’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

Web site is in building