Neon Rocket

Even Neo is Impressed

RSS 2.0

text processing

Bulk fix a list of words to the proper case

Problem Given a long list of upper-case words (one word per line), such as: MARY JOE SCOTT FRED … (for thousands of rows) … You want to change this to Mary Joe Scott Fred (etc) Solution Use perl from the command line. Assume all your names are in a file called ‘names.txt’. We’re going to send the output to a …Continue reading →