RE: date generates a "\r"

2009-02-03 Thread Arun Biyani
>> -Original Message- >> From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf >> Of Dave Korn >> Sent: Tuesday, February 03, 2009 12:40 PM >> To: cygwin@cygwin.com >> Subject: Re: date generates a "\r" >> >&g

Re: date generates a "\r"

2009-02-03 Thread Dave Korn
Arun Biyani wrote: No, the fix is to quit using linefeeds in your script files unless you are willing to teach bash to ignore those line feeds. d2u is your friend. Attached are the relevant files. I don't see where the problem is. Well this stuff don't look good: Missing file: /usr/bin

RE: Re: date generates a "\r"

2009-02-03 Thread Arun Biyani
> No, the fix is to quit using linefeeds in your script files unless you are > willing to teach bash to ignore those line feeds. d2u is your friend. Attached are the relevant files. I don't see where the problem is. cygcheck.log Description: cygcheck.log crontab.log Description: crontab.log

RE: Re: date generates a "\r"

2009-02-03 Thread Arun Biyani
>> No, the fix is to quit using linefeeds in your script files >> unless you are willing to teach bash to ignore those line >> feeds. d2u is your friend. I ran dos2unix on that script. Its not the script. I use emacs as editor. "crontab -e" invokes emacs. Maybe the crontab file has something in

Re: Re: date generates a "\r"

2009-02-03 Thread Mark J. Reed
On Tue, Feb 3, 2009 at 12:39 PM, Arun Biyani wrote: >>Please don't commandeer threads. > > A little puzzled. Are there parts to the message I did not see? Yes. Every email message has many headers with metadata. Your mail program may provide an option to view them ("show all headers", "show ori

RE: Re: date generates a "\r"

2009-02-03 Thread Arun Biyani
>-Original Message- >From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of >Eric Blake >Sent: Tuesday, February 03, 2009 11:16 AM >To: cygwin@cygwin.com >Subject: Re: date generates a "\r" >>Arun Biyani dickey-john.com> writes

Re: date generates a "\r"

2009-02-03 Thread Eric Blake
Arun Biyani dickey-john.com> writes: > [log$:513] name=$(date +tiny-%b-%d-%g) > [log$:514] bakup=$name.tz > > The assignments above result in bakup being > "/c/home/bak/tiny-Feb-02-g\r.tz". I'd like to understand why this > happens Please don't commandeer threads. The answer to your question