I have Homesite 4.5.
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.
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?
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.
I'll give it a try.
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.
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.
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?]
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.
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.
Should be Wednesdays, now.
Fixed.