Search Results

Search: Posts Made By: blackvelvet
9,680
Posted By blackvelvet
Grep search for count of letters beginning with a certain letter
Say I have a text file (allWords.txt), that contains all the words in the dictionary, line by line, that I would like to search through. Here is a snippet of what it might looks like...

Code:
a...
2,143
Posted By blackvelvet
Thank you, I got it now. I really appreciate that...
Thank you, I got it now. I really appreciate that help!
2,143
Posted By blackvelvet
Also how would I count the words that contain at...
Also how would I count the words that contain at least one "h"?

grep -Ec "h" file

Is that right? Or am I just counting the total number of "h's" instead of counting the words that contain at...
2,143
Posted By blackvelvet
Thank you very much! What if I wanted to...
Thank you very much!

What if I wanted to search words that do not have an "h" but do have an "a"?
2,143
Posted By blackvelvet
[Solved] Having trouble with simple grep search
I have a text file (allWords.txt), that I would like to search through. Here is a snippet of what it looks like...

a
aah
aahed
aahing
aahs
aardvark
aardvarks
aardwolf
ab
abaci
aback...
2,216
Posted By blackvelvet
Trying to compile in Emacs
I'm trying to compile two files in Emacs (guess.cpp and yesno.cpp). So I open up Emacs (the text version) and give the command M-x and then I try to type in "g++ -o asst guess.cpp yesno.cpp". But...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 02:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy