Control: forwarded -1 http://sourceforge.net/p/docutils/feature-requests/36/

* Karl Goetz <[email protected]>, 2012-01-05, 20:54:
Please require an option before rst2html will overwrite an existing file. I just ran 'rst2html *ipv6*.rst' without realising i had two files containing ipv6 in the name. The second file was turned into html, and its rst contents lost.

One way to avoid such accidents is to use stdin redirects:

$ ls *ipv6*.rst
baripv6.rst  fooipv6.rst

$ rst2html < *ipv6*.rst
bash: *ipv6.rst: ambiguous redirect

(This works in bash, other shells may behave differently.)

But anyway, I forwarded the bug upstream.

--
Jakub Wilk

_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to