Created
May 16, 2025 21:47
-
-
Save loorlab/54fb122c7c30f0fe0cb54357753f743e to your computer and use it in GitHub Desktop.
Count the total number of records in a comma-separated file (no-index.txt) in WIN, Bash console
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
| expr $(tr -cd ',' < no-index.txt | wc -c) + 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment