On  Do 24 Sep 2015 12:13:35 CEST, Mike Gabriel wrote:

x2go-DEBUG-../src/sshmasterconnection.cpp:1511> Executing remote: "bash -c 'echo "X2GODATABEGIN:e8c82b86-ae92-4b9b-b5ca-2384cde8ed41"; export PATH="/usr/local/bin:/usr/bin:/bin"; export DISPLAY=:50;printf '\''-959 -599 1920 1200\n961 -599 1920 1200'\'' >

Little shell experiment:

"""
[mike@minobo ~]$ printf '1 2 3 4\n'
1 2 3 4
[mike@minobo ~]$ printf "1 2 3 4\n"
1 2 3 4
[mike@minobo ~]$ printf "1 -2 3 4\n"
1 -2 3 4
[mike@minobo ~]$ printf "1 2 -3 4\n"
1 2 -3 4
[mike@minobo ~]$ printf "-1 2 3 4\n"
bash: printf: -1: invalid option
printf: usage: printf [-v var] format [arguments]
[mike@minobo ~]$ printf "-1 -2 3 4\n"
bash: printf: -1: invalid option
printf: usage: printf [-v var] format [arguments]
[mike@minobo ~]$ printf '-1 2 3 4\n'
bash: printf: -1: invalid option
printf: usage: printf [-v var] format [arguments]
[mike@minobo ~]$ printf ' -1 2 3 4\n'
 -1 2 3 4
"""

Obviously, the printf command is "buggy" somehow, because it should not interpret the "-1" in

  printf "-1 2 3 4\n"

as command line parameter.

I will think about filing a bug against Debian's coreutils package.

Mike
--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: [email protected], http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb

Attachment: pgp4bLWfqIUyM.pgp
Description: Digitale PGP-Signatur

_______________________________________________
x2go-dev mailing list
[email protected]
http://lists.x2go.org/listinfo/x2go-dev

Reply via email to