- 扩展模式:使用 -E 参数可以开启扩展模式,开启后,则可以不用添加 “\”来引用特殊字符,如() + 等。开启前后对比
开启前:sed ‘s/(season[0-9])(.+)\/(Scene[0-9])-.*([0-9])[.]mp3/\1-\3-\4.mp3/g’
开启后:sed -E ‘s/([[:digit:]]+)/0&/g;s/Season 0[/]Scene ([0-9]{2}).mp03/\1-\2.mp3/g’`
开启前:sed ‘s/(season[0-9])(.+)\/(Scene[0-9])-.*([0-9])[.]mp3/\1-\3-\4.mp3/g’
开启后:sed -E ‘s/([[:digit:]]+)/0&/g;s/Season 0[/]Scene ([0-9]{2}).mp03/\1-\2.mp3/g’`
TDS ÷ 17.847 = DH
DH ÷ 5.61 = mmol/L
比如
TDS=340
则 DH = 19 mmol/L=3.39
参考: https://www.zhihu.com/tardis/zm/art/415388318?source_id=1005
http://up1.goepe.com/js/fujian/1320371337.pdf
批处理中变量含义参考:https://blog.csdn.net/albertsh/article/details/102985590
call命令使用参考https://www.hxstrive.com/subject/windows_bat.htm?id=78
返回值处理参考:https://blog.csdn.net/linux__kernel/article/details/7055267
@echo off
setlocal enableDelayedExpansion
Powered by WordPress