[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [StrongED] Add at end of file?
"Richard Torrens (lists)" <Lists@xxxxxxxxxxxxxx> wrote:
> 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.
>
> Yes, there are other bits in the header section (e.g. defining window
> width) which are beyond the scope of this request.
>
> So I am looking for exactly what I asked - a way to append the same 'word'
> to the end of a collection of files.
I'm far frm convinced that SE is the best tool for this. What do you intend
to do to get all the files into SE in the first place? Once there, were you
planning to do the process and click on save for each loaded file?
I'd guess it might be possible to identify the end of a file in a symbolic
way then change that to <word><eof> using one of the fancier forms of search
and replace. I'm not sure if you can follow that with a save.
If I had to do it I'd use a short BASIC program to append the relevant
bytes, and - perhaps - use *REPEAT to run that against each target file.
How many target files do you have to do this to?
--
Jeremy C B Nicoll - my opinions are my own.
--
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx