开发者

man page with complex name

开发者 https://www.devze.com 2023-02-15 09:04 出处:网络
I\'m writing man pages for my Tcl library, one file per command. Command names contain ::, for example mypackage::mycommand.

I'm writing man pages for my Tcl library, one file per command. Command names contain ::, for example mypackage::mycommand.

I'd like to call proper man page by following command: man mypackage::mycommand. For this purpose corresponding man file is called mypackage::mycommand.n (I'm using "n" section of manual).

It works in Linux, but it 开发者_开发技巧does not in Windows, because some applications cannot properly work with files containing ":" in names. So I'd like to rename man files, say to mypackage_mycommand.n.

Question: is it possible to call my manual by man mypackage::mycommand, if corresponding man file has different name?

Thanks.

0

精彩评论

暂无评论...
验证码 换一张
取 消