You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openoffice.apache.org by "Gregory P. Ennis" <Po...@PoMec.net> on 2014/01/19 21:05:50 UTC

Opening a Text file with a null end

Everyone,

I am using openoffice writer to open up a text file that is being
created with a null octal \000\ as the end of file marker.  When
openoffice opens the file it replaces the null with a "#" character.  

The software I am using to create the text file is unable to create the
text file without a null at the end of the file.  Is there a way to get
openoffice to ignore the null and not translate the null into a "#"

Thanks for your help!!!
-- 
Greg Ennis
PoMec Corporation
www.PoMec.Net 



-------------------------------------------
List Conduct Guidelines: http://openoffice.apache.org/list-conduct.html
To unsubscribe, e-mail: users-unsubscribe@openoffice.apache.org
For additional commands, e-mail: users-help@openoffice.apache.org


Re: Opening a Text file with a null end

Posted by "Gregory P. Ennis" <Po...@PoMec.net>.
Dear Fideric,

Perl certainly allowed me to solve the problem, but it would have been
nice to do it with openoffice.  I am not certain that I understand your
note.  Were you able to get openoffice to ignore nulls at the end of a
text file?

-- 
Greg Ennis
PoMec Corporation
www.PoMec.Net 


We can do it automatically, as much as manually, as much as you. Maybe perl
will be fun to you.


2014/1/20 Gregory P. Ennis <Po...@pomec.net>

> Everyone,
>
> I am using openoffice writer to open up a text file that is being
> created with a null octal \000\ as the end of file marker.  When
> openoffice opens the file it replaces the null with a "#" character.
>
> The software I am using to create the text file is unable to create the
> text file without a null at the end of the file.  Is there a way to get
> openoffice to ignore the null and not translate the null into a "#"
>
> Thanks for your help!!!
>
> Greg Ennis
> -----------------------------------------------------------------
>
> I could not figure out how to get openoffice to ignore the null, but I
> did figure out a fix for the problem.   I wrote a perl script that is
> activated before openoffice that removes the null at the end of the text
> file before it passes the file to openoffice.
>
> However, if there is a way for openoffice to do this I would be
> interested in your comments.
>
> Greg Ennis
>
>
>
> -------------------------------------------
> List Conduct Guidelines: http://openoffice.apache.org/list-conduct.html
> To unsubscribe, e-mail: users-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: users-help@openoffice.apache.org
>
>


-------------------------------------------
List Conduct Guidelines: http://openoffice.apache.org/list-conduct.html
To unsubscribe, e-mail: users-unsubscribe@openoffice.apache.org
For additional commands, e-mail: users-help@openoffice.apache.org


Re: Opening a Text file with a null end

Posted by 許哲崇 <fi...@gmail.com>.
We can do it automatically, as much as manually, as much as you. Maybe perl
will be fun to you.


2014/1/20 Gregory P. Ennis <Po...@pomec.net>

> Everyone,
>
> I am using openoffice writer to open up a text file that is being
> created with a null octal \000\ as the end of file marker.  When
> openoffice opens the file it replaces the null with a "#" character.
>
> The software I am using to create the text file is unable to create the
> text file without a null at the end of the file.  Is there a way to get
> openoffice to ignore the null and not translate the null into a "#"
>
> Thanks for your help!!!
>
> Greg Ennis
> -----------------------------------------------------------------
>
> I could not figure out how to get openoffice to ignore the null, but I
> did figure out a fix for the problem.   I wrote a perl script that is
> activated before openoffice that removes the null at the end of the text
> file before it passes the file to openoffice.
>
> However, if there is a way for openoffice to do this I would be
> interested in your comments.
>
> Greg Ennis
>
>
>
> -------------------------------------------
> List Conduct Guidelines: http://openoffice.apache.org/list-conduct.html
> To unsubscribe, e-mail: users-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: users-help@openoffice.apache.org
>
>

Re: Opening a Text file with a null end

Posted by "Gregory P. Ennis" <Po...@PoMec.net>.
Everyone,

I am using openoffice writer to open up a text file that is being
created with a null octal \000\ as the end of file marker.  When
openoffice opens the file it replaces the null with a "#" character.  

The software I am using to create the text file is unable to create the
text file without a null at the end of the file.  Is there a way to get
openoffice to ignore the null and not translate the null into a "#"

Thanks for your help!!!

Greg Ennis
-----------------------------------------------------------------

I could not figure out how to get openoffice to ignore the null, but I
did figure out a fix for the problem.   I wrote a perl script that is
activated before openoffice that removes the null at the end of the text
file before it passes the file to openoffice. 

However, if there is a way for openoffice to do this I would be
interested in your comments.

Greg Ennis



-------------------------------------------
List Conduct Guidelines: http://openoffice.apache.org/list-conduct.html
To unsubscribe, e-mail: users-unsubscribe@openoffice.apache.org
For additional commands, e-mail: users-help@openoffice.apache.org