Questions tagged «findstr»

5
Windows中的find和findstr命令有什么区别?
在Windows中,find和findstr命令之间有什么区别? 两者似乎都在文件中搜索文本: 找 C:\> find /? Searches for a text string in a file or files. FIND [/V] [/C] [/N] [/I] [/OFF[LINE]] "string" [[drive:][path]filename[ ...]] /V Displays all lines NOT containing the specified string. /C Displays only the count of lines containing the string. /N Displays line numbers with the …



2
使用Windows批处理脚本从文件中获取价值
使用Windows批处理脚本,我想从写入日志文件的ffmpeg输出中获取max_volume值(-2.9在下面的示例中): [Parsed_volumedetect_0 @ 0000000005428b20] n_samples: 13406208 [Parsed_volumedetect_0 @ 0000000005428b20] mean_volume: -20.4 dB [Parsed_volumedetect_0 @ 0000000005428b20] max_volume: -2.9 dB [Parsed_volumedetect_0 @ 0000000005428b20] histogram_2db: 7 [Parsed_volumedetect_0 @ 0000000005428b20] histogram_3db: 181 [Parsed_volumedetect_0 @ 0000000005428b20] histogram_4db: 963 [Parsed_volumedetect_0 @ 0000000005428b20] histogram_5db: 2774 [Parsed_volumedetect_0 @ 0000000005428b20] histogram_6db: 6614 [Parsed_volumedetect_0 @ 0000000005428b20] histogram_7db: 14743 一旦我知道了这个值,我打算在一些计算中使用它。 非常感谢提前。 …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.