Package: dialog Version: 1.3-20160828-2 Severity: normal Dear Maintainer,
There are cases where providing arguments to dialog using `--file' results in failure but providing them directly in CLI works. It seems to me that there is a string escaping problem. I bumped into this because I use python-dialog, which invokes dialog with arguments passed using the `--file' argument. I started seeing backslashes in titles when colorizing them, and even in some cases dialog failed to display widgets. The easiest way to reproduce it is the following: 1) Invoke dialog passing args to CLI: $ dialog "--msgbox" "\"test\"" "0" "0" * A message box is displayed with the string `"test"` in it. * 2) Invoke dialog using the --file argument: $ cat args "--msgbox" "\"test\"" "0" "0" $ dialog --file args Error: Expected at least 3 tokens for --msgbox, have 1. Use --help to list options. It seems that version `1.3-20190211-1' from Buster works as expected in this matter, so perhaps it should be backported to Stretch. -- System Information: Debian Release: 9.9 APT prefers stable APT policy: (990, 'stable'), (500, 'stable-updates') Architecture: amd64 (x86_64) Kernel: Linux 4.19.5-arr-00009-g4694f1517d3f (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages dialog depends on: ii debianutils 4.8.1.1 ii libc6 2.24-11+deb9u4 ii libncursesw5 6.0+20161126-1+deb9u2 ii libtinfo5 6.0+20161126-1+deb9u2 dialog recommends no packages. dialog suggests no packages. -- no debconf information