If this patch has been applied upstream as is then it is still incomplete. If
you actually have a ~/.hosts file for example you enter the 'if' and the 'grep'
will fail since the $f needs quotes too.
set hosts = ($hosts `grep -v "+" $f | grep -E -v "^#" | tr -s "
" "" | cut -f 1`)
should be:
set hosts = ($hosts `grep -v "+" "$f" | grep -E -v "^#" | tr -s "
" "" | cut -f 1`)
Thanks,
fla.
---------------------------------------------------------------------------
> diff -c complete.tcsh complete.tcsh.orig
*** complete.tcsh Sun Apr 27 12:08:25 2008
--- complete.tcsh.orig Thu Apr 24 17:02:02 2008
***************
*** 39,45 ****
set noglob
if ( ! $?hosts ) set hosts
foreach f ("$HOME/.hosts" /usr/local/etc/csh.hosts "$HOME/.rhosts"
/etc/hosts.equiv)
! if ( -r "$f" ) then
set hosts = ($hosts `grep -v "+" $f | grep -E -v "^#" | tr -s "
" "" | cut -f 1`)
endif
end
--- 39,45 ----
set noglob
if ( ! $?hosts ) set hosts
foreach f ("$HOME/.hosts" /usr/local/etc/csh.hosts "$HOME/.rhosts"
/etc/hosts.equiv)
! if ( -r $f ) then
set hosts = ($hosts `grep -v "+" $f | grep -E -v "^#" | tr -s "
" "" | cut -f 1`)
endif
end
This patch has already been applied upstream.
Thanks,
Corinna
_________________________________________________________________
--
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/