Search found 9 matches

by wmhowell
Fri Jul 08, 2011 2:19 pm
Forum: General
Topic: Combining lines of text
Replies: 2
Views: 462

Worked great. The hardest part was finding the Posix checkbox. Never used it before. Thanks again for your help.
by wmhowell
Thu Jul 07, 2011 6:35 pm
Forum: General
Topic: Combining lines of text
Replies: 2
Views: 462

Combining lines of text

I have alot of records in a text file. Most are contained on one line but some records are split into two lines. If the 4th char is "1", "2", or "3" then the record is ok. If the 4th char is something else (usually but not always a "~") then the whole line should be added to the end of the previous ...
by wmhowell
Thu Mar 20, 2008 3:45 am
Forum: General
Topic: Simple Find in Files Question
Replies: 3
Views: 395

In the "Find in Files" dialog, there is a section "Report Detail" which lets you select "All matching lines" or "File counts only".

Yep. That's not it. I tried both options but got the same result.

Problem solved itself, however, when I downloaded the old version, 4.7.3. Got the desired output ...
by wmhowell
Wed Mar 19, 2008 7:36 pm
Forum: General
Topic: Simple Find in Files Question
Replies: 3
Views: 395

Simple Find in Files Question

Trying to find the occurences of an expression in a folder containing a large number of files (300+). When I run the search using Find in Files Textpad gives me the no. of occurences (84, in this case) but it does not list the lines out explicitly. How do I reconfigure to view the output?
by wmhowell
Sat Jan 19, 2008 2:02 am
Forum: General
Topic: Search and Replace Question
Replies: 8
Views: 1068

OK. I'm at idiot. The whole time I've been using TP I've never tried to highlight a column. It works. Just like highlighting rows. My bad.

No more questions for a while. I'm sufficiently humbled.

Have a good weekend, guys.
by wmhowell
Fri Jan 18, 2008 9:57 pm
Forum: General
Topic: Search and Replace Question
Replies: 8
Views: 1068

I see where this is going but still not sure how to get there.

The first command, to blow out all the data to the right, works great. It creates plenty of blank spaces to the right of column 80. The trick now is to iteratively reel in those lines back to the left until column 80 becomes a non ...
by wmhowell
Fri Jan 18, 2008 3:07 pm
Forum: General
Topic: Search and Replace Question
Replies: 8
Views: 1068

Here's a second problem from the same data set

I've gotten pretty fast at manually moving around data in Textpad. That's one of the reasons I like it so
much. The downside is it makes it too easy to do a brute force solution when an elegant Regular Expression
would do the heavy lifting better.

Here's another potential POSIX problem from the ...
by wmhowell
Thu Jan 17, 2008 11:10 pm
Forum: General
Topic: Search and Replace Question
Replies: 8
Views: 1068

Man, that's works great, Bob! I never would have come up with that.

40,000 lines of text. Formatted. Elapsed time: 5 minutes

I did the first 2000 lines manually before posting. Elapsed time: 1 hr.

:D
by wmhowell
Thu Jan 17, 2008 7:54 pm
Forum: General
Topic: Search and Replace Question
Replies: 8
Views: 1068

Search and Replace Question

I'm trying to line up columns in a text doc that has omitted fields for some data elements.

Here's the type of command I'm trying to implement

"If there is not a hyphen in column 18 [column 18 <> "-"] then insert 17 blank spaces starting in column 14". Some additional info which may help. If ...