It appears you have DOS-style line feeds in your script somehow.  In
DOS, a new line is represented as a carriage-return (written \r)
followed by a newline (written \n).  In unix, a new line is just
written with a \n (the DOS style actually makes more sense, but oh
well).

Point being, when you try to run a script in BASH that has these
DOS-style newlines, BASH won't recognize the script as an executable
and instead tell you 'No such file or directory'

You need to replace then \r\n at the end of the line with just \n.  Of
course, you can't 'see' these characters in most text editors.  You
need a tool to do it.

If you have perl installed, and easy way is to just run:

perl -pi -e 's/\r\n/\n/;' /usr/local/bin/trac-admin

On 5/21/07, ip520 <[EMAIL PROTECTED]> wrote:
>
> Dear Rainer,
>
> Thx for the support,
>
> how do we proceed to make the changes and where do we need to change
> them?
>
> Best Regards
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to