Last active
April 17, 2023 04:16
-
-
Save libook/f6f3c03ca7c6b09569855682a9b05681 to your computer and use it in GitHub Desktop.
snapraid dup before '='
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awk -F'= ' '{sub(/^[[:space:]]*[0-9]+\s*/, "", $1); gsub(/[[:space:]]*$/, "", $1); print $1}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment