Package: bsdutils
Version: 1:2.20.1-5.2
Severity: normal

Dear Maintainer,

Specifying 'script --quiet ...' still produces the 'Script started'
message in the typescript file. The --quiet option implies that the
script program should not log any of its output to the typescript file.

#---------------------------------------------------------------------
# OK - start and done messages logged to typescript file as expected.

$ script -c 'echo hello'
Script started, file is typescript
hello
Script done, file is typescript
$ cat typescript 
Script started on Thu Nov 22 11:37:08 2012
hello

Script done on Thu Nov 22 11:37:08 2012

#---------------------------------------------------------------------
# not OK - we asked for quiet, and although script no longer writes the
# started and done messages to the terminal, in the typescript file we
# still have a started message, but no done message.

$ script --quiet -c 'echo hello'
hello
$ cat typescript 
Script started on Thu Nov 22 11:37:25 2012
hello

#---------------------------------------------------------------------
# expected result

$ script --quiet -c 'echo hello'
hello
$ cat typescript 
hello

#---------------------------------------------------------------------

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.5.0-18-generic (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages bsdutils depends on:
ii  libc6  2.13-35

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]

Reply via email to