Package: bsdutils
Version: 1:2.20.1-5.3
Severity: normal
Hello,
Argument parsing in typescript has changed. For example, when using the
arguments "-t" and "-c", a space is required where one previously was
not. In
the following command, I would expect the results of "ls -1" to be
displayed,
but I am instead brought to a new shell:
mempass% script -tc "ls -1"
Script started, file is ls -1
Bash 8162 -- Sun Mar 10 11:53:45 CDT 2013
[email protected]
mempass%
However, if I add a space, this works as expected:
mempass% script -t -c "ls -1"
Script started, file is typescript
0.781522 10
mempass.py0.015227 2
0.000016 10
symbols.py0.000013 2
0.000009 11
symbols.pyc0.000011 2
0.000009 10
typescript0.000012 2
Script done, file is typescript
Before I upgrading to Debian Wheezy, using "script" without adding a
space
between "-t" and "-c" worked fine. Here is an example of the previous
behaviour
on my computer that still runs Squeeze:
jameseric@icebox:~/applications$ cat /etc/debian_version
6.0.5
jameseric@icebox:~/applications$ script -tc "ls -1"
Script started, file is typescript
0.799954 66
compiled
packages
precompiled
proprietary
source
typescript
Script done, file is typescript
Eric
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bsdutils depends on:
ii libc6 2.13-38
Versions of packages bsdutils recommends:
ii bsdmainutils 9.0.3
bsdutils suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]