Package: fortune-mod
Version: 1:1.99.1-3
Followup-For: Bug #353980

When the working directory is full of foo and foo.dat fortune
databases, the full path works as expected.

    $ fortune $PWD
    Computers don't introduce order anywhere as much as they expose
    opportunities.
     -- Alan J. Perlis

The ./ meta-directory works, after printing silly errors:

    $ fortune ./
    ./: No such file or directory
    ./: Illegal seek
    I can't smell sarcasm over IRC.
    Get closer to the screen.
     -- http://bash.org/?quote=136804

The . meta-file fails, and fortune instead uses the default databases
in /usr/share/games/fortunes:

    $ fortune .
    Kirkland, Illinois, law forbids bees to fly over the village or through
    any of its streets.

Going up a directory and giving a partial path also works:

    $ cd ..
    $ ls -1 fortunes
    angry-flower
    angry-flower.dat
    angst-technology
    angst-technology.dat
    bash.org
    bash.org.dat
    [...]
    $ fortune fortunes/
    Your momma so dumb, she set her buffer length to a
    minimal octal instead of puging the cache.
     -- http://bash.org/?quote=1611
    $ # This next is using /usr/share/games/fortunes/fortunes.dat :-/
    $ fortune fortunes
    You are number 6!  Who is number one?

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-3-amd64 (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 fortune-mod depends on:
ii  fortunes [fortune-cookie- 1:1.99.1-3     Data files containing fortune cook
ii  fortunes-bg [fortune-cook 1.1            Bulgarian data files for fortune
ii  fortunes-bofh-excuses [fo 1.2-1          BOFH excuses for fortune
ii  fortunes-br [fortune-cook 20061004       Fortune files in Portuguese
ii  fortunes-cs [fortune-cook 2.0-1          Czech and Slovak data files for fo
ii  fortunes-de [fortune-cook 0.23-1         German data files for fortune
ii  fortunes-debian-hints [fo 1.7            Debian Hints for fortune
ii  fortunes-eo [fortune-cook 20020729-4     Collection of esperanto fortunes.
ii  fortunes-eo-ascii [fortun 20020729-4     Collection of esperanto fortunes (
ii  fortunes-eo-iso3 [fortune 20020729-4     Collection of esperanto fortunes (
ii  fortunes-es [fortune-cook 1.26           Spanish fortune database
ii  fortunes-es-off [fortune- 1.26           Spanish fortune cookies (Offensive
ii  fortunes-fr [fortune-cook 0.64           French fortunes cookies
ii  fortunes-ga [fortune-cook 0.7            Irish (Gaelige) data files for for
ii  fortunes-it [fortune-cook 1.99-2         Data files containing Italian fort
ii  fortunes-it-off [fortune- 1.99-2         Data files containing Italian fort
ii  fortunes-mario [fortune-c 0.20-6         Fortunes files from Mario
ii  fortunes-min [fortune-coo 1:1.99.1-3     Data files containing fortune cook
ii  fortunes-off [fortune-coo 1:1.99.1-3     Data files containing offensive fo
ii  fortunes-pl [fortune-cook 0.0.20071015-1 Polish data files for fortune
ii  fortunes-ru [fortune-cook 1.52-1         Russian data files for fortune
ii  libc6                     2.7-5          GNU C Library: Shared libraries
ii  librecode0                3.6-14         Shared library on which recode is 

fortune-mod recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to