site  contact  subhomenews

Bluetooth, tr

April 04, 2016 — BarryK
Quirky Xerus progress notes:

Bluetooth
Yesterday and today I have been working on a GUI for managing Bluetooth.
It took awhile, but I managed to put a GUI wrapper around the commandline utility 'bluetoothctl'.
Still needs a lot of work.

tr utility
Had frustration using the Busybox 'tr' utility. Eventually replaced it with the full version from 'coreutils'.
Those who have followed my blogs over the years, will know of the issues I have had with some Busybox applets. Which is why you will find a subset of the utilities from 'coreutils' and elsewhere, instead of the Busybox versions.

Comments

I had changed to the full 'tr' in 'coreutils', as the busybox version does not handle octal characters properly.

However, after releasing Quirky 7.90, I discovered that the full 'tr' has its own problem!

If I type "ppm" in a terminal, to bring up the Package Manager, get heaps and heaps of this:

tr: warning: an unescaped backslash at end of string is not portable

Yes, I can cause this message:
# echo 'abc' | tr -d '\'
tr: warning: an unescaped backslash at end of string is not portable
abc
#


However, searching through /usr/local/petget, nowhere can I find an unescaped backslash at the end of a string in any 'tr' operation.

So, have reverted to the busybox 'tr' applet.

Tags: linux