comm

Finding Set Complement in Unix

Given this two files: $ cat A.txt $ cat B.txt 3 11 5 1 1 12 2 3 4 2 I want to find lines number that is in A "BUT NOT" in B. What's the unix command for it? I tried this but seems to fail: comm -3 <(sort -n A.txt) <(sort -n B.txt) | sed 's/\t//g' ...

Need to use COMM port 2 to get information from a device. .Net doesnt support it though

I am writing a vb.net app that has a piece which needs to send a small command to comm port 2 and get the return result. The problem is .net doesnt have any support for serial communication seems like. Please help. I just need to send the command "headtype" and get the result. ...

Getting Java Security Exception with java comm api from GWT

Im developing a GWT application to control an X10 home automation controller(USB Device). It uses the java Comm APi to communicate witht the controller. But im getting this exception when trying to call the comm api remotly. Initializing AppEngine server The server is running at http://localhost:8888/ javax.comm: Error loading javax.co...

Java serial comm API - what does inputstream.read() return if a timeout occurs?

Anyone know the exact value returned when the serial driver times out? I'm running Java1.5 on Win XP. ...

Find lines common to several files

I'm trying to determine which header declares a specific function. I've used grep to find instances of the function's use; now, I want to find which header is included by all the files. I'm aware of the comm utility; however, it can only compare two sorted files. Is there a Unix utility that can find the common lines between an arbitrary...

Win32SerialPort Notification thread In javax.comm programming

Hi, all. I'm using the javax communication API to connect the serial port, and I can send and receive data with it. But there's a problem, when the main method is over, the program is still running. I tried debug mode and found that when executed "SerialPort.addEventListener(); notifyOnDataAvailable(true);", a Win32SerialPort Notificatio...