Results 1 to 3 of 3
I'm tring to find in the unix dictionary words that begin with 'z' and end in 't' and 'l' and end in 't' and have only one letter in between. ...
- 01-23-2007 #1Just Joined!
- Join Date
- Nov 2005
- Posts
- 12
Grep question
I'm tring to find in the unix dictionary words that begin with 'z' and end in 't' and 'l' and end in 't' and have only one letter in between. I've used grep '^z.*t$' | wc but its not giving me what I'm looking for. Any ideas on how to solve this problem
- 01-23-2007 #2Linux Enthusiast
- Join Date
- Aug 2006
- Posts
- 631
We don't reply on homework questions.
Regards
- 01-26-2007 #3Banned
- Join Date
- Aug 2005
- Location
- Sacramento, CA
- Posts
- 112
Here's a more polite reply:
I would suggest you google it, or try the man page. I don't know if you have yet, but it might be helpful to check the man page, then look on the internet for a grep howto/guide or an FAQ. We try to solve problems here, not find the same solutions over and over for people. That's what Linux/Unix is based on in principle. If you want to really learn Linux, it is suggested that you learn by reading and experiencing it yourself, not asking for the right answer every time. If you want to simply utilize the more modern features of Linux, I suggest you stick to graphical tools and distributions designed for people like that, such as SuSE or Ubuntu. Have fun searching!


Reply With Quote