Package: markdown
Version: 1.0.1-10.1
Severity: normal

The man page markdown(1) says, in the synopsis, that the command accepts
a list of input filenames on the command line.  In fact if more than one
input file is given then only the first is used, and the rest are silently
ignored.  There isn't even an attempt to open the additional files:

$ echo a >t0
$ echo b >t1
$ markdown t0 t1
<p>a</p>
$ markdown t1 t0
<p>b</p>
$ markdown t2doesnotexist
Can't open t2doesnotexist: No such file or directory at /usr/bin/markdown line 
221.
$ markdown t0 t2doesnotexist
<p>a</p>
$

-zefram

Reply via email to