FutureQuest, Inc. FutureQuest, Inc. FutureQuest, Inc.

FutureQuest, Inc.
Go Back   FutureQuest Community > General Site Owner Support (All may read/respond) > Open Discussions
User Name
Password  Lost PW

Reply
 
Thread Tools Search this Thread Display Modes
Old 04-28-2001, 12:25 AM   Postid: 11784
bellgamin
Visitor

Forum Notability:
0 pts:
[Post Feedback]
 
Join Date: Feb 2000
Location: Ewa Beach, HI, USA
Posts: 175
How can I do a "find" in an unopened file?

I am seeking software that can do a "find" in unopened files.

That is, I need a program that can search through an unopened file and tell me whether it contains (for instance) "man bites dog."

The above capability would be delightful. Even better would be a program that can search an unopened file for "man bites dog" and, if it finds it, change it to "dog bites man."

I'm not sure if what I'm describing even exists.

Any comments, suggestions, or even snide remarks would be welcomed.

Aloha from Hawaii,
Bellgamin
bellgamin is offline   Reply With Quote
Old 04-28-2001, 12:47 AM   Postid: 11785
Greg@outtacyte
Site Owner

Forum Notability:
10 pts: User-friendly
[Post Feedback]
 
Join Date: Apr 2001
Location: Bebe, TX, USA
Posts: 8
You might take a look at UltraEdit, www.ultraedit.com.

This is a Windows Text editor which can search groups of files, and even change them.  It doesn't handle files like MS Word, and it doesn't have a port to Unix (I Wish!), but it can open Unix files via FTP for edit.


------------------
----
Greg
Greg@outtacyte is offline   Reply With Quote
Old 04-28-2001, 12:49 AM   Postid: 11786
 Deb
FutureQuest, Inc.
 
Deb's Avatar
 
Join Date: Jun 1998
Location: Franktown Colorado
Posts: 6,781
I'm not quite sure I am on the right track here but just in case I'll toss my ten cents out anyway

http://www.ghisler.com/ I believe searches unopened files...including compressed files (it's an awesome file manager) but it wont do the 'replace' part of the request.

http://www.ultraedit.com/ will perform a search and replace on unopened text files where you simply define the directory you want it to go through and let it do its thing. (another awesome must-have piece of software)

Deb
 - Toolz, Toolz, and more Toolz

Deb is offline   Reply With Quote
Old 04-28-2001, 03:26 AM   Postid: 11787
Dunx
Someone who likes orange
 
Dunx's Avatar

Forum Notability:
41 pts: User-friendly
[Post Feedback]
 
Join Date: Apr 2001
Location: Portland, OR, USA
Posts: 770
As a child of the command line, I would be reaching for grep for the search and perl for the replace: regular expressions can take a bit of learning, but they're jolly powerful once you get the hang of them.

For example:

grep -n '<string>' *.txt

perl -pe 's/<string1>/<string2>/' -ibak

------------------
--
Dunx
Dunx is offline   Reply With Quote
Old 04-28-2001, 03:57 PM   Postid: 11788
bellgamin
Visitor

Forum Notability:
0 pts:
[Post Feedback]
 
Join Date: Feb 2000
Location: Ewa Beach, HI, USA
Posts: 175
Greg &amp; Deb -- many many thanx!

UltraEdit is indeed ultra.
bellgamin is offline   Reply With Quote
Old 04-28-2001, 10:13 PM   Postid: 11789
chrisheng
Site Owner

Forum Notability:
10 pts: User-friendly
[Post Feedback]
 
Join Date: Jun 2000
Posts: 152
My only gripe about UltraEdit's search and replace facility (for unopened files) is that it does not allow prompted search and replace - where you are prompted if you want to replace a particular match. Otherwise I'd be very satisfied with it.
chrisheng is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 visitors)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 10:53 AM.


Running on vBulletin®
Copyright © 2000 - 2013, Jelsoft Enterprises Ltd.
Hosted & Administrated by FutureQuest, Inc.
Images & content copyright © 1998-2013 FutureQuest, Inc.
FutureQuest, Inc.