Or simply create a new copy of the file using vi locally on the system
where you are running solr.  Don't cut and paste since you may include
the non-printing characters that way too.  Simply type in the content
of the file.

Bill

On 4/14/07, Venkatesh Seetharam <[EMAIL PROTECTED]> wrote:
you could use dos2unix command on linux or cygwin to remove these.

On 4/13/07, realw5 <[EMAIL PROTECTED]> wrote:
>
>
> I think you're on to something, here was the output:
>
> # Licensed to the Apache Software Foundation (ASF) under one or more^M$
> # contributor license agreements.  See the NOTICE file distributed with^M$
> # this work for additional information regarding copyright ownership.^M$
> # The ASF licenses this file to You under the Apache License, Version 2.0
> ^M$
> # (the "License"); you may not use this file except in compliance with^M$
> # the License.  You may obtain a copy of the License at^M$
> #^M$
> #     http://www.apache.org/licenses/LICENSE-2.0^M$
> #^M$
> # Unless required by applicable law or agreed to in writing, software^M$
> # distributed under the License is distributed on an "AS IS" BASIS,^M$
> # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
> implied.^M$
> # See the License for the specific language governing permissions and^M$
> # limitations under the License.^M$
> user=solr^M$
> solr_hostname=localhost^M$
> solr_port=8080^M$
> rsyncd_port=18080^M$
> data_dir=^M$
> webapp_name=solr^M$
> master_host=^M$
> master_data_dir=^M$
> master_status_dir=^M$
>
> Question now is, what's the best solution to removing those characters?
>
> Dan
>
> Chris Hostetter wrote:
> >
> >
> > : all the debug output. Here, is a snip of that. Note the "solr\r", yet
> in
> > my
> > : .conf file I have only "user=solr". If I run the script using this
> > command
> >
> > what does "cat -vet scripts.conf" tell you?
> >
> >
> >
> > -Hoss
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Solr-Scripts.conf-Parsing-Error-tf3550726.html#a9988416
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>


--
Thanks,
Venkatesh

"Perfection (in design) is achieved not when there is nothing more to add,
but rather when there is nothing more to take away."
- Antoine de Saint-Exupéry

Reply via email to