Mail Archives: cygwin/2004/04/08/08:23:32
On Wed, 7 Apr 2004 11:20:41 -0400 (EDT), wrote:
>An updated version of zsh (zsh-4.2.0-2) has been released and should be
>at a mirror near you real soon.
>
>- Fix for running scripts from text-mode mounted filesystems. Previously
> if you ran a script from a text-mode mount, and it had DOS CR/LF's line
> termination, zsh would report ^M errors. The shell now opens such
> files with O_TEXT which causes line termination to be massaged. I'll
> be watching for problem reports concerning this as it was a broad
> change, the implications of which haven't been fully realized yet.
>
Peter,
I think this is a really useful problem to resolve for the popolarity
of zsh on cygwin. Many of us are fairly impatient, and think well I've
got 30 minutes; I'll give zsh a go, then try to convert an existing
bash script get these ^M problems and think blast I have to rewrite my
existing scripts, decide they haven't got time for that and give up.
(Your bash scripts should all work under zsh; In any case you can
choose to leave the shebang as #!/bin/bash)
Anyway thanks again
zzapper (vim, cygwin, wiki & zsh)
--
vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?"
http://www.vim.org/tips/tip.php?tip_id=305 Best of Vim Tips
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -