Hard at Work Mid-A Off-topic Playground.

%!&#*336fth Official Hard At Work Thread!%&#!*%

Thread Tools
 
Old Nov 3, 2011 | 11:37 AM
  #91  
speed_bump's Avatar
Registered User
 
Joined: Mar 2002
Posts: 24,687
Likes: 195
From: MoCo
Default

Originally Posted by WhrDLMI
Good lord it got a geeky up in ere...

Alt+F4
Old Nov 3, 2011 | 11:38 AM
  #92  
speed_bump's Avatar
Registered User
 
Joined: Mar 2002
Posts: 24,687
Likes: 195
From: MoCo
Default

Originally Posted by e3opian
Oh, wait, see that's what I had already. I need to match two words in the same line.
try * between patterns?


Yeah my linux knowledge is minimal and I'm going off what little I remember from unix and what little I've seen of linux.
Old Nov 3, 2011 | 11:39 AM
  #93  
e3opian's Avatar
20 Year Member
Liked
Loved
Community Favorite
 
Joined: Jul 2005
Posts: 28,456
Likes: 228
Default

Globbing would work if the order were known.
Old Nov 3, 2011 | 11:41 AM
  #94  
speed_bump's Avatar
Registered User
 
Joined: Mar 2002
Posts: 24,687
Likes: 195
From: MoCo
Default

I probably should have looked at what was on that disk before I just deleted the partitions, created new ones and formatted it.
Old Nov 3, 2011 | 11:42 AM
  #95  
WhrDLMI's Avatar
Community Organizer
20 Year Member
Liked
Loved
Community Favorite
 
Joined: Jan 2006
Posts: 101,568
Likes: 4,901
From: Leesburg, VA
Default

Originally Posted by speed_bump
Originally Posted by WhrDLMI' timestamp='1320348971' post='21126381
Good lord it got a geeky up in ere...

Alt+F4


That's a Windows command.

Old Nov 3, 2011 | 11:43 AM
  #96  
speed_bump's Avatar
Registered User
 
Joined: Mar 2002
Posts: 24,687
Likes: 195
From: MoCo
Default

Old Nov 3, 2011 | 11:43 AM
  #97  
WhrDLMI's Avatar
Community Organizer
20 Year Member
Liked
Loved
Community Favorite
 
Joined: Jan 2006
Posts: 101,568
Likes: 4,901
From: Leesburg, VA
Default

Originally Posted by speed_bump
I probably should have looked at what was on that disk before I just deleted the partitions, created new ones and formatted it.
Do you have a disaster recovery plan?
Old Nov 3, 2011 | 11:44 AM
  #98  
e3opian's Avatar
20 Year Member
Liked
Loved
Community Favorite
 
Joined: Jul 2005
Posts: 28,456
Likes: 228
Default

Found it with awk.

awk '/word1/&&/word2/ { print $0 }' /path/to/filename
Old Nov 3, 2011 | 11:44 AM
  #99  
e3opian's Avatar
20 Year Member
Liked
Loved
Community Favorite
 
Joined: Jul 2005
Posts: 28,456
Likes: 228
Default

Originally Posted by WhrDLMI
Originally Posted by speed_bump' timestamp='1320349303' post='21126401
I probably should have looked at what was on that disk before I just deleted the partitions, created new ones and formatted it.
Do you have a disaster recovery plan?
marks_resume.doc.
Old Nov 3, 2011 | 11:45 AM
  #100  
goldenfri's Avatar
Community Organizer
15 Year Member
Liked
Loved
Community Favorite
 
Joined: Nov 2005
Posts: 16,673
Likes: 729
From: Maryland
Default

Originally Posted by e3opian
Found it with awk.

awk '/word1/&&/word2/ { print $0 }' /path/to/filename
Good glad you solved this before I had a chance to see the question.



All times are GMT -8. The time now is 02:31 PM.