#!/bin/bash
while true
do
status=`cat status.txt`;
echo $status;
if [$status == «0»]
then
xdotool keydown space;
elif [$status = «1»]
then
xdotool keyup space;
fi
break;
done;
switch.sh: line 6: [0: command not found
switch.sh: line 9: [0: command not found
Чё не так?