Textpad will help you with this too. A nice little program with Perl syntax highlighting.
Bob
----- Original Message ----
From: Andy Schafer < lostgameparts%40yahoo.com">lostgamepartsyahoo.com>
To: perl-beginner%40yahoogroups.com">perl-beginneryahoogroups.com Sent: Saturday, September 22, 2007 1:19:48 PM
Subject: Re: [PBML] CHOMP leaving whitespace
I couldn't get dos2unix to work so I did a little digging on the net
and found this little program called "TextImp" here:
http://www.gth- media.de/ textimp/
It converts from Windows to Unix and vice versa. It actually puts an
option in the menu for each file to automatically convert one file or
you can open the program and convert an entire folder. It works great
and my site is now operating like I expected it to!!
Thanks for all the help you guys gave!
Andy Schafer
--- In perl-beginner yahoogroups. com, "Hern�n Gonzalo Asorey"
<asoreyh... > wrote:
>
> Try with this:
>
> dos2unix datafile
>
> You can get the complete list of options by
>
> dos2unix --help
>
>
>
> On 9/22/07, Andy Schafer <lostgameparts ...> wrote:
> >
> > Hi,
> >
> > My host's Apache is running on Unix. I am very unfamiliar with Unix (I
> > don't intend to stay that way). How do I go about converting my files
> > or is it just as easy to use CHOP and forget about it?
> >
> > Thanks
> > Andy
> >
> >
> > --- In perl-beginner yahoogroups. com
<perl-beginner% 40yahoogroups. com>,
> > Bob Kardell <bobkardell > wrote:
> > >
> > > ----- Original Message ----
> > >
> > > > Now, this script worked fine when I was running it under Perl
on my
> > > > own machine (Windows XP) but when I convert it to CGI and upload
> > it to
> > > > my site (Apache run) I start having this problem. I can make
it work
> > > > if I use CHOP but I know that I shouldn't have to do it that way.
> > >
> > > What OS is your Apache running on? If is non-Windows you might have
> > to convert the text file to Unix endings before uploading the file.
> > >
> > > Just a thought,
> > >
> > > Bob
> > >
> >
> >
> >
>
>
>
> --
> ------------ --------- --------- --------- ------
> Mg. Hern�n Gonzalo Asorey
> Instituto Balseiro - CAB
> (8400) San Carlos de Bariloche
> R�o Negro - Rep. Argentina
> ------------ --------- --------- --------- ------
> cabtep5.cnea. gov.ar/~asoreyh/
>
>
> [Non-text portions of this message have been removed]
>
[Non-text portions of this message have been removed]