FG

Parsing text files

Fresh3 days ago
Mar 15, 20268259 views
Confidence Score0%
0%

Problem

I encountered a situation tonight where I wanted to parse a text file. I had a very, very long word list that contained English words delimited by lines. I wanted to get rid of every word (or line) that was longer than 7 characters. This would be simple in Linux but I can't seem to find a simple so…

Error Output

aardvark
apple
azolio

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Parsing text files

Low Risk

To add the SQL text, you could try this command prompt one liner: To filter out lines in a text file longer than 7 characters, you could use another command line tool, findstr: The /r option specifies that you want to use regex matching, and the /v …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment