diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 55 |
1 files changed, 55 insertions, 0 deletions
@@ -0,0 +1,55 @@ +CYGWIN +WINDOWS SHELL +BASH + + + +CYGWIN doesn't echo things properly. Like when you hit up arrow instead of showing the last command it travels up in the window. But it still will execute the last command upon hitting <enter>. <tab> autocomplete also doesn't render but still executes. + +Here's sample output of how bad it is on cygwin: +--- +root@htc_himaul:/sdcard2/bk/andbackup # ./and . +./and +andbackup.sh andbackup/ +/andbackup.sh < +sush: ./andbackup.sh: can't execute: Permission denied +126|root@htc_himaul:/sdcard2/bk/andbackup # bash and . +bash and +andbackup.sh andbackup/ +ash andbackup.sh < +shell-init: error retrieving current directory: getcwd: cannot access parent directories: Success +andbackup.sh: line 269: @: unbound variable +1|root@htc_himaul:/sdcard2/bk/andbackup # +--- + + +WINDOWS SHELL doesn't have this problem, so autocomplete and last command are clean. But the "unbound variable" happens also, this is fixed by passing the correct parameter count. (bash bug?) +- +"sh" doesn't work: +--- +1|root@htc_himaul:/sdcard2/bk/andbackup # sh andbackup.sh +127|root@htc_himaul:/sdcard2/bk/andbackup # +--- + + +BASH even has a bug: +--- +shell-init: error retrieving current directory: getcwd: cannot access parent directories: Success +--- +but it appears to run fine + + +TODO BUGS +--- +22:30:17 2017-03-18 info Backing up com.nianticlabs.pokemongo +cp: /storage/ext_sd/bk/andbackup/andbackupBK/com.nianticlabs.pokemongo/data//lib: Function not implemented +deleting cache for com.nianticlabs.pokemongo +22:30:49 2017-03-18 info Compressing userdata for com.nianticlabs.pokemongo +chdir: error retrieving current directory: getcwd: cannot access parent directories: Success +This app com.google.android.apps.maps-preserveDignity has passed in options +22:30:51 2017-03-18 info Backing up com.google.android.apps.maps +deleting cache for com.google.android.apps.maps +22:33:19 2017-03-18 info Compressing userdata for com.google.android.apps.maps +root@htc_himaul:/sdcard2/bk/andbackup # +--- +Looks like andbackup can't handle symlinks |