Comment 0 for bug 547025

Revision history for this message
In , Can Burak Cilingir (canburak-gmail) wrote : fortunes: does not recognize paths with a dot (.) in it

Package: fortunes
Version: 1:1.99.1-2
Severity: important

When using a hand-made fontune file, fortune fails if
path has a . in it. even if "./.cookies".

can@portable:~$ cat .cookies
sığar mı ki mutluluklar tek satıra
%
can@portable:~$ cat cookies
sığar mı ki mutluluklar tek satıra
%
can@portable:~$ strfile cookies
"cookies.dat" created
There was 1 string
Longest string: 39 bytes
Shortest string: 39 bytes
can@portable:~$ strfile .cookies
".cookies.dat" created
There was 1 string
Longest string: 39 bytes
Shortest string: 39 bytes
can@portable:~$ fortune /home/can/cookies
sığar mı ki mutluluklar tek satıra
can@portable:~$ fortune /home/can/.cookies
fortune:/home/can/.cookies not a fortune file or directory
fortune:/home/can/.cookies not a fortune file or directory
No fortunes found
can@portable:~$

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages fortunes depends on:
ii fortune-mod 1:1.99.1-2 provides fortune cookies on demand
ii fortunes-min 1:1.99.1-2 Data files containing fortune cook

-- no debconf information