Package: coreutils
Version: 8.21-1
Severity: wishlist
Tags: patch

This is an idea for an /etc/mailcap entry for "cat".  This allows a text
file to be catted with

    run-mailcap --action=cat foo.txt

The file below is debian/coreutils.mime and adding dh_installmime to the
binary-arch should install it to /usr/lib/mime/packages/coreutils.

# This entry allows "run-mailcap --action=cat foo.txt" to print a text
# file to stdout.  Not particularly useful in itself, but good for
# genericness if you don't know in advance what sort of input file is
# to be catted.
#
# The mailcap(5) man page notes that a simple "cat" like this is
# builtin to "metamail".  But it's not builtin in "run-mailcap", hence
# this entry.
#
# priority=0 to to allow specific text types such as text/html to be
# rendered to plain text.  No %s so data received on stdin.
#
text/*; cat; copiousoutput; priority=0

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

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages coreutils depends on:
ii  libacl1      2.2.52-1
ii  libattr1     1:2.4.47-1
ii  libc6        2.17-93
ii  libselinux1  2.1.13-3

coreutils recommends no packages.

coreutils suggests no packages.

-- no debconf information

Reply via email to