0

我有用 bash 编写的简单脚本:

#!/bin/bash
while true; do
read -rsn1 input
if [ "$input" = "a" ]; then
firefox;
fi
done

是否可以读取不是字符名称而是字符代码对 xmodmap 命令正确?

4

0 回答 0