当前位置: 首页 > news >正文

openssl3.2 - .pod文件的查看方法

文章目录

    • .pod文件的查看方法
    • 概述
    • 笔记
    • 初步的解决方法
    • 备注 - pod2html.bat的详细用法
    • 好像Perl就自带这个BAT
    • END

.pod文件的查看方法

概述

看到openssl源码目录下有很多.pod文件, 软件发布的帮助内容都在里面.
在这里插入图片描述

当make install后, 大部分的.pod都会转成html文件, 但是有一部分不在转换的范围内.
我知道openssl是用perl干的这事, 还没有去makefile中去查 make install的实现.
找到一种方法, 将pod文件转成html文件, 先用着.

笔记

在本地计算机先找了一圈, 看看还有没有其他软件也有pod文件转html的功能, 找到了:P
我计算机上装了MATLAB-R2022a, 其中有个批处理, 叫pod2html.bat, 看名字挺像. 试试好使.

初步的解决方法

在matlab目录找到pod2html.bat
在这里插入图片描述
在自己的工具目录, 建立一个bat. 里面将pod2html.bat的path加入path环境变量, 再启动cmd.
在这里插入图片描述

set path=D:\MATLAB\R2022a\sys\perl\win32\bin;%path%
call cmd

然后双击这个cmd, 就可以运行pod2html.bat了
cd /d 转到需要看.pod文件的目录.

cd /d D:\3rd_prj\crypt\openssl-3.2.0\doc\internal\man7

用pod2html.bat进行文件转换, 将.pod转成.html就可以用浏览器看了.

pod2html -infile build.info.pod -outfile build.info.html

在这里插入图片描述
在这里插入图片描述

备注 - pod2html.bat的详细用法

自带帮助, pod2html.bat --help 就能看到怎么用.

D:\3rd_prj\crypt\openssl-3.2.0\doc\internal\man7>pod2html --help
Usage:  D:\MATLAB\R2022a\sys\perl\win32\bin/pod2html.bat --help --htmldir=<name> --htmlroot=<URL>--infile=<name> --outfile=<name>--podpath=<name>:...:<name> --podroot=<name>--cachedir=<name> --flush --recurse --norecurse--quiet --noquiet --verbose --noverbose--index --noindex --backlink --nobacklink--header --noheader --poderrors --nopoderrors--css=<URL> --title=<name>--[no]backlink  - turn =head1 directives into links pointing to the top ofthe page (off by default).--cachedir      - directory for the directory cache files.--css           - stylesheet URL--flush         - flushes the directory cache.--[no]header    - produce block header/footer (default is no headers).--help          - prints this message.--htmldir       - directory for resulting HTML files.--htmlroot      - http-server base directory from which all relative pathsin podpath stem (default is /).--[no]index     - generate an index at the top of the resulting html(default behaviour).--infile        - filename for the pod to convert (input taken from stdinby default).--outfile       - filename for the resulting html file (output sent tostdout by default).--[no]poderrors - include a POD ERRORS section in the output if there wereany POD errors in the input (default behavior).--podpath       - colon-separated list of directories containing librarypods (empty by default).--podroot       - filesystem base directory from which all relative pathsin podpath stem (default is .).--[no]quiet     - suppress some benign warning messages (default is off).--[no]recurse   - recurse on those subdirectories listed in podpath(default behaviour).--title         - title that will appear in resulting html file.--[no]verbose   - self-explanatory (off by default).

好像Perl就自带这个BAT

又全盘搜了一下, 看到perl就自带这个bat…
在这里插入图片描述

END

http://www.lryc.cn/news/290806.html

相关文章:

  • 力扣238. 除自身以外数组的乘积(前后缀和)
  • Java玩转《啊哈算法》排序之快速排序
  • 静态代理IP该如何助力Facebook多账号注册运营?
  • npm 淘宝镜像正式到期
  • 【Spring Boot 3】【@Scheduled】多线程执行定时任务
  • TypeScript 基础学习
  • 《CSS3》田字网格背景(外实线内虚线)的实现
  • 图书管理系统(ArrayList和LinkedList)--versions3.0
  • 游戏开发丨基于Pygame的AI版贪吃蛇小游戏
  • qt-C++笔记之QStringList、QList<QString>、QString、QChar、QList<QChar>区别
  • python爬虫学习之解析_BeautifulSoup
  • 2024美赛数学建模赛题解读常用模型算法
  • NoSQL 数据库管理系统和模型的比较
  • 数据库(SQL)
  • 如何用Docker+jenkins 运行 python 自动化?
  • uniapp瀑布流实现
  • 鸿蒙:@Link装饰器-父子双向同步
  • Leetcode--27
  • 使用Eclipse搞Android项目报错
  • import sys是什么
  • Python爬虫:XPath基本语法
  • UML/SysML建模工具更新情况(截至2024年1月)(1)UModel 2024
  • ubuntu20-github不通问题
  • 【MAC】Multi-Level Monte Carlo Actor-Critic阅读笔记
  • [GN] 设计模式—— 创建型模式
  • 链表——超详细
  • 【刷题】 leetcode 面试题 08.05.递归乘法
  • C语言实现希尔排序算法(附带源代码)
  • R语言【taxlist】——subset():取taxlist对象的子集
  • 单片机学习笔记---定时器计数器(含寄存器)工作原理介绍(详解篇2)