termux / termux-api-package

Termux package containing scripts to call functionality in Termux:API.
MIT License
1.02k stars 318 forks source link

Avoid adding trailing newline to copied text #63

Closed monking closed 5 years ago

monking commented 5 years ago

Using echo without options adds a trailing newline. I'm also in the habit of quoting $@ (which keeps separate tokens separate), though it's probably not significant here.

monking commented 5 years ago

I'll make a new PR from a dedicated branch.