Public bug reported:

The parsing of the parameters to "adb shell" is different between the
Ubuntu version and the original Google version. This change breaks all
scripts that rely on the (weird) escaping of the original version.

Examples:

Behavior of Ubuntu version:
$ /usr/bin/adb shell echo "'hi'"
'hi'

Behavior of Google version (expected):
$ /opt/adt/sdk/platform-tools/adb shell echo "'hi'"
hi

Versions:

$ /usr/bin/adb -v
Android Debug Bridge version 1.0.32

$ /opt/adt/sdk/platform-tools/adb -v
Android Debug Bridge version 1.0.32
Revision 09a0d98bebce-android

$ lsb_release -a
Distributor ID: Ubuntu
Description:    Ubuntu 16.04 LTS
Release:        16.04
Codename:       xenial

$ apt-cache policy android-tools-adb
android-tools-adb:
  Installed: 5.1.1r36+git20160322-0ubuntu3
  Candidate:   5.1.1r36+git20160322-0ubuntu3
  Version Table:
 *** 5.1.1r36+git20160322-0ubuntu3 500
        500 http://be.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        100 /var/lib/dpkg/status

** Affects: android-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1571547

Title:
  adb shell escaping different from original Google version

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/android-tools/+bug/1571547/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to