[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#520363: fish: no way to pipe both stdout and stderr to another command



Package: fish
Version: 1.23.1-1
Severity: important

I'm setting this to important because I believe this functionality is
very important in a shell. I want to send both stdout and stderr
output through, for instance, tee:

kov@abacate ~> ls /a / ^&1 | tee /tmp/log2
ls: cannot access /a: No such file or directory
/:
bin/
boot/
cdrom@
dev/
etc/
home/
initrd/
initrd.img@
initrd.img.old@
lib/
lost+found/
media/
mnt/
proc/
root/
sbin/
selinux/
srv/
sys/
tmp/
usr/
var/
vmlinuz@
vmlinuz.old@

This doesn't work. Only stdout is piped through tee:

kov@abacate ~> cat /tmp/log2
/:
bin/
boot/
cdrom@
dev/
etc/
home/
initrd/
initrd.img@
initrd.img.old@
lib/
lost+found/
media/
mnt/
proc/
root/
sbin/
selinux/
srv/
sys/
tmp/
usr/
var/
vmlinuz@
vmlinuz.old@

Thanks,

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

Kernel: Linux 2.6.28-1-686 (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/bash

Versions of packages fish depends on:
ii  bc                     1.06.94-3         The GNU bc arbitrary precision cal
ii  elinks [www-browser]   0.12~pre2.dfsg0-1 advanced text-mode WWW browser
ii  epiphany-gecko [www-br 2.24.3-2          Intuitive GNOME web browser - Geck
ii  epiphany-webkit [www-b 2.27.0~svn.8831-1 Intuitive GNOME web browser - WebK
ii  iceweasel [www-browser 3.0.7-1           lightweight web browser based on M
ii  libc6                  2.9-4             GNU C Library: Shared libraries
ii  libncurses5            5.7+20090228-1    shared libraries for terminal hand
ii  links [www-browser]    2.2-1+b1          Web browser running in text mode
ii  lynx                   2.8.7dev13-1      Text-mode WWW Browser (transitiona
ii  lynx-cur [www-browser] 2.8.7dev13-1      Text-mode WWW Browser with NLS sup
ii  w3m [www-browser]      0.5.2-2+b1        WWW browsable pager with excellent

Versions of packages fish recommends:
ii  xsel                          1.2.0-1    command-line tool to access X clip

Versions of packages fish suggests:
ii  doc-base                      0.9.1      utilities to manage online documen
ii  menu                          2.1.41     generates programs menu for all me

-- no debconf information



Reply to: