Package: socat
Version: 1.6.0.1-1
Severity: normal
Hi,
after upgrade from Etch to Sid - socat 1.4.3.1 -> 1.6.0.1 I have
problems with existing scripts using socat:
SYSTEM:<shell-command> address
nothing changed in man-page concerning this address, but
meta-characters needs to be double-escaped?:
SYSTEM:<shell-command>
Forks a sub process that establishes communication with its par-
ent process and invokes the specified program with system().
Please note that <shell-command> [string] must not contain ','
or "!!", and that shell meta characters may have to be pro-
tected. After successful program start, socat writes data to
stdin of the process and reads from its stdout.
Option groups: FD,SOCKET,EXEC,FORK,TERMIOS
Useful options: path, fdin, fdout, chroot, su, su-d, nofork,
pty, stderr, ctty, setsid, pipes, sigint, sigquit
See also: EXEC
[EMAIL PROTECTED]:~$ socat -V|head -2
socat by Gerhard Rieger - see www.dest-unreach.org
socat version 1.6.0.1 on Feb 28 2008 14:11:41
[EMAIL PROTECTED]:~$ socat SYSTEM:"ssh ns hostname\;hostname" STDOUT
ns
bobek
[EMAIL PROTECTED]:~$ socat SYSTEM:"ssh ns hostname\\\;hostname" STDOUT
ns
ns
[EMAIL PROTECTED]:~$
Stable system (Etch):
[EMAIL PROTECTED]:~$ socat -V|head -2
socat by Gerhard Rieger - see www.dest-unreach.org
socat version 1.4.3.1 on Apr 13 2006 15:56:26
[EMAIL PROTECTED]:~$ socat SYSTEM:"ssh ns hostname\;hostname" STDOUT
ns
ns
[EMAIL PROTECTED]:~$ socat SYSTEM:"ssh ns hostname\\\;hostname" STDOUT
ns
fog
[EMAIL PROTECTED]:~$
If this incompatible option processing changes are intentional, than there
should be red warning about it, at least notice in README.Debian or so.
--
Zito
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=cs_CZ.ISO-8859-2 (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/bash
Versions of packages socat depends on:
ii libc6 2.7-11 GNU C Library: Shared libraries
ii libreadline5 5.2-3 GNU readline and history libraries
ii libssl0.9.8 0.9.8g-10 SSL shared libraries
ii libwrap0 7.6.q-15 Wietse Venema's TCP wrappers libra
socat recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]