My work's illegal, but at least it's honest.

Mal ,'Shindig'


Buffistas Building a Better Board  

Do you have problems, concerns or recommendations about the technical side of the Phoenix? Air them here. Compliments also welcome.

To-do list


DXMachina - Mar 05, 2003 5:39:34 pm PST #3386 of 10000
You always do this. We get tipsy, and you take advantage of my love of the scientific method.

I have Homesite 4.5.


John H - Mar 05, 2003 6:01:41 pm PST #3387 of 10000

I'll trying and find my copy of homesite and see what the syntax is.

But, here's something you could try. From the commandline, doing this:

perl -p -i.bak -e 's/(\\S{50})/$1n/' longstrings.txt

will put a linebreak after the fiftieth character of any line of longstrings.txt which contains fifty non-whitespace characters without a break.

Of course it won't wrap it neatly at the nearest hyphen, and it doesn't fix lines with more than 100 chars in a row, (run it twice!) but it's better than nothing.

Oh and it makes a backup file of course, called longstrings.txt.bak -- Perl, is there anything it can't do?


John H - Mar 05, 2003 6:41:28 pm PST #3388 of 10000

The code for "a pattern of fifty non-spaces in a row" in Homesite is the very beautiful:

([^[:space:]]{50})

so if you choose "extended Replace", check the Regular Expressions box then replace the above code with

\\1

followed by a return, that will hard-wrap, in a rather brutal way, all 50-character strings, putting a line break after char 50.


DXMachina - Mar 05, 2003 6:45:13 pm PST #3389 of 10000
You always do this. We get tipsy, and you take advantage of my love of the scientific method.

I'll give it a try.


Java cat - Mar 05, 2003 7:42:08 pm PST #3390 of 10000
Not javachik

Hi, there's a wonderful new article by Gothic Miss Manners (posted in Press today) about etiquette on boards, and newbies and old-bies, and I thought it might make a good addition or link to the Buffista main FAQ. FYI.


brenda m - Mar 05, 2003 7:52:21 pm PST #3391 of 10000
If you're going through hell/keep on going/don't slow down/keep your fear from showing/you might be gone/'fore the devil even knows you're there

DX and John, how much do I love that you guys are out here thinking of us and trying to fix problems that would never occur to me in advance. Lots, that's how much.


Jessica - Mar 05, 2003 9:17:46 pm PST #3392 of 10000
And then Ortus came and said "It's Ortin' time" and they all Orted off into the sunset

Just saw:

I'll nurse you back to health! I'll wear the nurse outfit!
Buffybot,

in the upper-right corner, with no episode attribution. (It's Intervention.)

[eta: Wasn't that also Buffy, pretending to be the Buffybot, at that point?]


Jessica - Mar 05, 2003 9:46:02 pm PST #3393 of 10000
And then Ortus came and said "It's Ortin' time" and they all Orted off into the sunset

Also (and how many times have we had to change this line?) the filk etiquette guide is out of date:

ANGEL: (Spoken) Hey, what about Mondays?

Should be Wednesdays, now.


DXMachina - Mar 05, 2003 9:49:17 pm PST #3394 of 10000
You always do this. We get tipsy, and you take advantage of my love of the scientific method.

John, the regex works too well in Homesite. It's also flagging the stuff inside the anchor tags, so there's way too much clutter on a search (even setting the length to 100 gave me 111 hits), and if I let it go ahead and replace, it'll break every link in the file. I had an idea though. I still have the text versions of the threads that I was using when I was compiling the stats the other day, so I can either try the regex on them, or I can dump them back into Excel, and sort on line length, which gives me what I need.


Jon B. - Mar 05, 2003 9:59:26 pm PST #3395 of 10000
A turkey in every toilet -- only in America!

Should be Wednesdays, now.

Fixed.