摘要: 字符串切割 expr substr "test,sfc" 1 3 字符串长度 expr length "test,sfc" 字符串中字符出现的位置 awk -v a="test,sfc" -v b="sfc" 'BEGIN{print index(a,b)}' 字符串截取方法:https://www 阅读全文
posted @ 2019-10-17 11:49 DesignerA 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 剪切 dd 复制 yy 粘贴 p 复制n行 将光标移动到将要复制的首行处,按“nyy”复制n行 替换所有行的内容 :%s/sourcecontent/destinationcontent/g 阅读全文
posted @ 2019-10-17 11:03 DesignerA 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 版本:python3.7 安装pycrypto 1.下载源码 win+R打开cmd, 输入: start powershell 2.解压并安装 解压pycrypto-2.6.1.tar.gz并进入解压后的目录中,cmd执行: python setup.py install 报错:error: Una 阅读全文
posted @ 2019-10-17 09:54 DesignerA 阅读(445) 评论(0) 推荐(0) 编辑