|
-
January 14th, 2008, 09:31 PM
#1
unix help
1.
i am trying to build a command that searches a text file
and outputs the number of words which consists of two 'b' characters
in each word separatly
like
barby
(the b characters must be separated from one another)
i tried to use grep [b][b] filepath
then i know that we need to use pipe to count the result
but it prints all the word with the two b chars
one next to the other
how do i build this command
2.
i am trying to build a command that searches a text file
and outputs the number words which consists of two 'x' characters
only
i tried to use
Similar Threads
-
By gore in forum Operating Systems
Replies: 31
Last Post: June 5th, 2006, 03:50 PM
-
By \/IP3R in forum AntiOnline's General Chit Chat
Replies: 16
Last Post: March 7th, 2005, 10:25 PM
-
By gore in forum Operating Systems
Replies: 1
Last Post: October 12th, 2004, 07:29 AM
-
By -DaRK-RaiDeR- in forum Newbie Security Questions
Replies: 9
Last Post: December 14th, 2002, 08:38 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|