As an example, I paste the following into my terminal (with the newline at the end):
pwd adb doesnotexist ls
All three run. The second exits with a failure. On the other hand, pasting this:
pwd adb shell pwd ls
adb and does not continue to paste or execute
- What mechanism is at work here to abort the paste?
- How can I override it?