>2011/8/18 Mike Scott <[email protected]>:
>> On 18/08/11 09:48, Johnny Rosenberg wrote:
>> ....
>>>>>> So, basically, I need to put a <p> tag at the beginning of each
>>>>>> paragraph, and a </p> tag at the end of each paragraph.  I
>>>>>> thought this would be easy, and found the regex info in the help
>>>>>> file, but every time I try to run it, I'm told that the
>>>>>> beginning or end of the paragraph isn't found.  It's not finding
>>>>>> \n, either.  I do have the "Regular Expressions" and "Current
>>>>>> Selection Only" boxes checked. Is it looking for Writer
>>>>>> paragraphs?  Is there something else I should be searching for
>>>>>>in Calc?
>> ...
>>>> Not an OOo solution, but I find perl is good for this sort of
>>>> thing. You could preprocess your csv before importing into Calc.
>>> Or you could simply use sed in a terminal.
>> True, not that that comes as standard with windows. He doesn't say
>> what OS he's using.
>>
>> (Besides, I've never really got my head round sed   Given perl's
>> portability and its flexibility in pattern matching, it's my own
>> tool of choice for anything from one-off one-liners to OS
>> maintenance scripts to.... well, whatever.)
>Well, I'm so tired of asking people what operating system they are
>running, so I just give the answers that I would like myself if I
>asked the same question. If the operating system is not mentioned I
>assume that he or she has the same operating system as me.
>
>So why I suggested sed is that it's pre-installed if your operating
>system is the same as what I've got, and he didn't say otherwise in
>his original post. Even if he runs Windows, maybe someone else having
>the same problem can find the solution in sed, who knows?
>
>By the way, sed can be installed in windows, at least 32-bit:
>http://gnuwin32.sourceforge.net/packages/sed.htm

As a Windows user, I'm kind of partial to Notepad++ as a general purpose
text/hacking editor. It has regular expression search, so in theory at
least you should be able to open your csv file and process it within the
editor.  http://notepad-plus-plus.org/

-mike brady
-- 
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help

Reply via email to