Change atom.sh not to spawn a sleep process every second on --wait
Change atom.sh not to spawn a sleep process every second on --wait

As sleep(1) is not a bash builtin, every second a new process is spawed.
To  prevent this, the POSIX read can be used instead.
Since it is (required to be) a bash builtin, it is immediately killed along with bash unlike a longer running sleep would be.
In case stdin is e.g. /dev/null for whatever reason (this would break EDITOR=nano), sleep is still kept to prevent a tight loop.
brettle/atom,atom/atom,andrewleverette/atom,PKRoma/atom,PKRoma/atom,Mokolea/atom,brettle/atom,stinsonga/atom,stinsonga/atom,PKRoma/atom,stinsonga/atom,Mokolea/atom,t9md/atom,liuderchi/atom,brettle/atom,liuderchi/atom,atom/atom,Mokolea/atom,liuderchi/atom,atom/atom,liuderchi/atom,andrewleverette/atom,t9md/atom,t9md/atom,stinsonga/atom,andrewleverette/atom