Hello ubuntu-community, i wanted to write a small own bluetooth connector. But i noticed a strange behavier when i scan for bluetooth devices. Here the code:
If I use it in the way above, it complains about:
while [ 0 -eq 0 ]
if [ $ScanResult ]
If i do the same with the command "ls" it workes quite expacted right. Does anyony realize a failure I made?
./bluetoothscan.sh: Zeile 10: [: Zu viele Argumente.