Return search results in text document

478 views
Skip to first unread message

Fearg

unread,
Jan 28, 2011, 11:36:44 AM1/28/11
to TextWrangler Talk
Hi

I'm new to TextWrangler and Macs, and previously used TextPad on PCs.

I'm just getting started with TW and like much of it.
But one thing seems to be missing.

Having done a multi-file search, there doesn't seem to be a way to
incorporate the results - i.e. the file path + name + text matched -
into a text document to save and/or distribute.

Is there a simple way to do that?

TIA

Steve Kalkwarf

unread,
Jan 28, 2011, 11:59:09 AM1/28/11
to textwr...@googlegroups.com
> Having done a multi-file search, there doesn't seem to be a way to
> incorporate the results - i.e. the file path + name + text matched -
> into a text document to save and/or distribute.


Select all, Copy, and then paste into a new document?

Steve

Rich Siegel

unread,
Jan 28, 2011, 2:13:11 PM1/28/11
to textwr...@googlegroups.com
On Friday, January 28, 2011, Steve Kalkwarf
<kalk...@barebones.com> wrote:

That works; in addition, when the list in a search results
window has focus, the "Export" command will create text file of
the results.

Or, you can use `bbfind` on the command line.

R.
--
Rich Siegel Bare Bones Software, Inc.
<sie...@barebones.com> <http://www.barebones.com/>

Someday I'll look back on all this and laugh... until they
sedate me.

Fearg

unread,
Feb 1, 2011, 6:11:20 AM2/1/11
to TextWrangler Talk

> That works; in addition, when the list in a search results
> window has focus, the "Export" command will create text file of
> the results.

Again, no path to sub-folders

>
> Or, you can use `bbfind` on the command line.

Newbie question: is the bbfind command documented somewhere?

Fearg

unread,
Feb 1, 2011, 6:04:45 AM2/1/11
to TextWrangler Talk
> Select all, Copy, and then paste into a new document?

That doesn't copy the path to the file, which is essential in a sub-
folder search

Tom Robinson

unread,
Feb 1, 2011, 9:58:03 PM2/1/11
to textwr...@googlegroups.com
On 2011-02-02, at 00:11, Fearg wrote:

>> Or, you can use `bbfind` on the command line.
>
> Newbie question: is the bbfind command documented somewhere?

I'm pretty sure this is only part of BBEdit, not TextWrangler. Perhaps Rich can confirm?

You might need to use the 'find' command line tool.

Cheers

Patrick Woolsey

unread,
Feb 2, 2011, 7:29:44 AM2/2/11
to textwr...@googlegroups.com
Tom Robinson <barefo...@gmail.com> sez:

>On 2011-02-02, at 00:11, Fearg wrote:
>
>>> Or, you can use `bbfind` on the command line.
>>
>> Newbie question: is the bbfind command documented somewhere?
>
>I'm pretty sure this is only part of BBEdit, not TextWrangler. Perhaps
>Rich can confirm?
>

'twfind' is the equivalent tool for TextWrangler (3.5.x), so 'man twfind'
for info.

Regards,

Patrick Woolsey
==
Bare Bones Software, Inc. <http://www.barebones.com>
P.O. Box 1048, Bedford, MA 01730-1048

Reply all
Reply to author
Forward
0 new messages