Используйте awk
:
awk '$2" "$3=="FOR COLUMN"{a=$1; $1=$4; $4=a}1' file
FOR
) и третье поле ( COLUMN
) $ 1
) и четвертое ( $ 4
) поля Debian 9 «Stretch» использует драйвер libinput
$ mkdir -p /etc/X11/xorg.conf.d
$ echo 'Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "Tapping" "on"
EndSection' > /etc/X11/xorg.conf.d/40-libinput.conf
$ systemctl restart lightdm
Из Вики Debian