On 29 Jul 2001 17:58:13 -0700, Cassandra Bonner wrote:
>> Might the dos formatted file have
>> something to do with bash not finding and executing it?
Yes - the DOS line ends are why bash cannot find the files. I'm not
sure why this is - and make is even more strict about line endings.
Lucky we are not using that...
> Just run dos2unix on the file (you'll also need to do this to antRun)
Not all machines have dos2unix and unix2dos, however... :-( It's a
shame.
If you are an emacs users, run a search and replace for "[control] q
[control] m" (or C-q C-m if you speak emacs). Apparently vi can be told
to strip them upon saving the document - but I only know one vi command
(:qa!, which is quit now, don't ask, just do it).
Shell freaks also get "tr" - use it to delete the character "\r" - at a
guess I'd say the command is "cat antRun | tr -d '\r' > newAntRun".
Ross
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>