How we are supposed to handle errors when something wrong happens from the shell script level?
Let's say we want to move window like so:
echo 100 > $X11FS/$WID/geometry/y
however some internal x11 error occurs.
Checking #? does not make any sense since that's clearly not the cat's fault here.
How we are supposed to handle errors when something wrong happens from the shell script level?
Let's say we want to move window like so:
echo 100 > $X11FS/$WID/geometry/yhowever some internal x11 error occurs.
Checking
#?does not make any sense since that's clearly not the cat's fault here.