Repository navigation
Conversation
Starting with exfatprogs 1.4.4 we see a multiline version output on stderr and stdout: $ /usr/sbin/mkfs.exfat --version > /dev/null exfatprogs version : 1.4.4 (2026-11-10) $ /usr/sbin/mkfs.exfat --version 2> /dev/null libblkid version : 2.42.4 (21-Sep-2026) $ /usr/sbin/mkfs.exfat --version exfatprogs version : 1.4.4 (2026-11-10) libblkid version : 2.42.4 (21-Sep-2026) Let the regex search on multiple lines from stdout and stderr to find the one containing the exfatprogs version. Signed-off-by: Sven Hoexter <[email protected]>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
sorry duplicate of #1227 - though slightly different implementation |
Starting with exfatprogs 1.4.4 we see a multiline
version output on stderr and stdout:
$ /usr/sbin/mkfs.exfat --version > /dev/null
exfatprogs version : 1.4.4 (2026-11-10)
$ /usr/sbin/mkfs.exfat --version 2> /dev/null
libblkid version : 2.42.4 (21-Sep-2026)
$ /usr/sbin/mkfs.exfat --version
exfatprogs version : 1.4.4 (2026-11-10)
libblkid version : 2.42.4 (21-Sep-2026)
Let the regex search on multiple lines from stdout and stderr to find the one containing the exfatprogs version.
Summary by CodeRabbit