I've been studying up on my old textbooks I bought from college. It has exercises that I have difficulty with, believe it or not. Classroom work was not as hard, but that's probably because I've been trying every question there are and not skipping each one. I would like to make a thread full of answers I need to make the most out of my time here. Don't worry, I'll try my best not to ask you "dumb" questions like "how do I program in UNIX" or "how do I turn my computer on."
Let's start with this:
Here are the contents of a sample file
Code: Select all
123
142
19988
11111111111
Code: Select all
grep '[0-9]\{5,5\}' numbers