I have a 4-column CSV file:
01, cat, animal, it catches mice
- The file contains many characters from various languages in UTF-8.
How can I print only those lines containing exactly 2 characters in column 2 while also matching the pattern “/to ” anywhere on that line in column 4?
You can use awk :