Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 01-16-2005, 08:26 PM   #1 (permalink)
 
Newb Techie

Join Date: Jan 2005

Posts: 1

wideback

Default unix egrep commands

I am trying to find out if there is any way to search for blank areas around words. I am trying to make a command that seachs files/folders mostly text files for: white space and a single caracter.

meaning i would like to be able to find:
f f f
ff
f
f
fffffff

If i were using the command.

thanks for any help,
wideback is offline  
Old 01-16-2005, 08:40 PM   #2 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

look up the man page for awk or actually its gawk these days, it does that kind of thing

so does 'find', but find doesnt spit out what you want, even if piped into something else I dont think
horndude is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On