Mail Archives: cygwin/2006/09/26/15:52:15
On Tue, 26 Sep 2006, Arun Biyani wrote:
> -------- Original Message --------
> Subject: Re: Bash problem - v3.1.17(8) - syntax error
> Date: Tue, 26 Sep 2006 12:17:34 -0700
> From: Arun Biyani <abiyani AT XXXX DOT XXXXXXX DOT XXX>
> To: Dave Korn <dave DOT korn AT XXXXXX DOT XXX>
> References: <002a01c6e1a0$085960d0$a501a8c0 AT CAM DOT ARTIMI DOT COM>
<http://cygwin.com/acronyms/#PCYMTNQREAIYR>. Thanks.
> Dave Korn wrote:
> > On 26 September 2006 20:11, Arun Biyani wrote:
> >
> >
> > > I just upgraded to the current bash. Now I am getting an error. I
> > > reinstalled, rebooted the machine. Still get the same error. The
> > > variable $HOME is set correctly.
> >
> > Wrong line-ends most likely. Run d2u on it.
> >
> > cheers,
> > DaveK
>
> Still the same problem.
>
> > bash: /c/home/abiyani/.bash_login: line 7: syntax error: unexpected
> > end of file
> >
> > abiyani AT IT90-1070 ~
> > $ od < .bashrc
> > 0000000 005043 063151 055440 026440 020146 044044 046517 027505
> > 0000020 071167 027553 074563 027563 067543 027555 060542 064163
> > 0000040 066537 071157 020145 005135 064164 067145 020012 020040
> > 0000060 027040 022040 047510 042515 073457 065562 071457 071571
> > 0000100 061457 066557 061057 071541 057550 067555 062562 063012
> > 0000120 005151 005043 000012
> > 0000125
> >
> > abiyani AT IT90-1070 ~
> > $
Is there any particular reason you post the output of od on .bashrc when
the error was reported in .bash_login?
BTW, for the future, you might want to run "od -c" instead -- its output
is a bit more readable.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"
--
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 -