This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Crontab on Win9X works


Igor Pechtchanski wrote:

> According to RFC 2822, a newline followed by whitespace is 
> going to be "unfolded" (so the newline is not "semantically 
> visible" in the header field).  The RFC also allows unfolding 
> lines consisting entirely of whitespace (but not blank lines!).
> 
> It seems to me that cron does not accomodate environment 
> values with whitespace in them at all.  A solution would be 
> to have cron insert a " " (space) after every newline in the
> variable value, which will render newlines harmless.  Does this
> make sense?

Yes.  It does alter the values of the environment variables with CRLF in
them, but that seems a lot better than what's happening now.  I can't find
something in the RFC that will allow CRLF to be retained as part of a header
field body.

-DB

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]