@terdon About *How to change the bash code to get still ... but without to use awk*,
I said: Using *pure bash* is a lot quicker for parsing small input like `xrandr` output than using (two) forks to `grep` and `tr` or `cut`.
For testing this, I've save `xrandr --current > $tempfile`. then
I said: Using *pure bash* is a lot quicker for parsing small input like `xrandr` output than using (two) forks to `grep` and `tr` or `cut`.
For testing this, I've save `xrandr --current > $tempfile`. then