[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [StrongED] Re: Add at end of file?
- To: stronged@xxxxxxxxxxxxxx
- Subject: Re: [StrongED] Re: Add at end of file?
- From: Tony Moore <old_coaster@xxxxxxxxxxx>
- Date: Mon, 23 Aug 2010 21:42:53 GMT
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1282599866; bh=BGIX5P0donS+hfhs7Gjipmgb2gbb4AbMIjviL3vCEyc=; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:References:In-Reply-To:User-Agent:MIME-Version:Content-Type; b=W+itp1ppzpZjq2PYN9ujlaxnYofz7CaTKRyQfEJaGI3WgSv+4jTU2MapLxNYk8q4NVGu4e5DC07bLiXqTijHdnlgdpa5YR8tvhI++oP5svxHdNWg7Q9BkDOSEM1ikxog1QtjGSL+utAjS6CuKycsYgorye0PbtnB8HOIW8aCRlk=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=DKIM-Signature:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:References:In-Reply-To:User-Agent:MIME-Version:Content-Type; b=B5oXx3qWJn3BHkvRdrWnISckKqlzt5aC6op1MgHgyHTgwzTT1DD4V4M45jxDh3Hp2Ms5sCJJqIcIYkVMPvc0gnuERwFW2MxxnQiECHOpVLdY0r8TFWSMEyrX91x6lHbls6KNJZAoTSiZ+lz6hnGi2rcDvfJXy9emFqLf9Fjuh0k= ;
- Envelope-to: stronged@xxxxxxxxxxxxxx
- In-reply-to: <4b8e714b51.old_coaster@old_coaster.yahoo.co.uk>
- List-id: RISC OS StrongED mailing list
- References: <5149ae8496Lists@Torrens.org.uk> <6145b54951.old_coaster@old_coaster.yahoo.co.uk> <514b610e85Lists@Torrens.org.uk>
- Reply-to: StrongED@xxxxxxxxxxxxxx
- User-agent: Messenger-Pro/5.13 (MsgServe/3.43) (RISC-OS/6.20)
On 23 Aug 2010, "Richard Torrens (lists)" <Lists@xxxxxxxxxxxxxx> wrote:
> In article <6145b54951.old_coaster@old_coaster.yahoo.co.uk>,
> Tony Moore <old_coaster@xxxxxxxxxxx> wrote:
> > On 20 Aug 2010, "Richard Torrens (lists)" <Lists@xxxxxxxxxxxxxx>
> > wrote:
>
> > > I have a large number of files to which I wish to add a line at
> > > the end of each.
> > >
> > > Is there a way to do this?
>
> > If you mean by using StrongED, I think the answer is not easily.
>
> > PipeDream lists data for column A, column B, etc. Each list
> > comprises row 1, row 2, etc. To add a single line to the end of the
> > PipeDream file would require an entry in _every_ column list.
>
> > > The files are all Pipedream files: I want to add an extra column
> > > to each file.
>
> > That would need a new column list with an entry for every row,
> > whether null or otherwise.
>
> > It may also be necessary to change the file header, but I've not
> > looked into that.
>
> The addition to the file is very simple: a final line
>
> %CO:K,12,0%
>
> This adds column K - which is exactly what I need.
I misunderstood. I thought that you wanted to add a line to the file as
displayed by PipeDream, in which case my first comment above is true.
You're correct in that adding %CO:K,12,0% to a newline at the end of the
file extends the display up to column K (if it doesn't already exist),
and I was not correct in suggesting that it is necessary to populate the
the column rows.
To carry out this operation manually in StrongED is, as you say, simple
but, if you intend to modify many files, it would be rather tedious.
As far as I can see, a saved PipeDream file doesn't end with a newline,
so you need to be able to add a newline to the file, before %CO:K,12,0%
I believe that StrongED doesn't provide for searching for EOF, so search
and replace, which could operate on multiple files, is not available.
If the PipeDream file were to end with a newline, it would have been
possible to use ConvText (by searching for [10]-LAST).
I suspect that you need a purpose built program.
Tony
--
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx