[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Post Install Script Troubles



On Mon, Apr 28, 2003 at 08:49:21AM -0700, Christopher Malek wrote:
> 
> Yes -- in fact, Robert, your problem wss that vim is a little too smart
> in this particular case.  If vim senses DOS EOL termintators, it will
> preserve them, and /bin/vi == vim on RedHat systems.   You have to do
> what John says to get it to change.
> 
One little trick with vim is that you can put settings in the file itself,
add a comment to the beginning or end of your ks.cfg that says:
# vim:ff=unix
and vim won't preserve dos line endings when you edit that file.

-- 
Jason Kohles                                 jkohles redhat com
Senior Engineer                 Red Hat Professional Consulting





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]