RE: CRLF

2012-01-01 Thread Buchbinder, Barry (NIH/NIAID) [E]
Thorsten Glaser wrote on 31 December 2011 15:00 >tr -d \\r would work, too (but also strip CR in the middle). sed -e 's/\r$//' preserves CRs in the midddle. - Barry ..Disclaimer: Statements made herein are not made on behalf of NIAID. -- Problem reports: http://cygwin.com/problems.html F

Re: CRLF

2011-12-31 Thread Chris Sutcliffe
On 31 December 2011 10:34, Andrew DeFaria wrote: > On 12/31/11 02:43, Franz Fehringer wrote: >> There is an ongoing discussion about how to successfully execute shell >> scripts with CRLF line endings with bash and zsh. >> With bash i can use >> set -o igncr >> and now my question is how to achieve

Re: CRLF

2011-12-31 Thread Andrew DeFaria
On 12/31/11 02:43, Franz Fehringer wrote: Hi, There is an ongoing discussion about how to successfully execute shell scripts with CRLF line endings with bash and zsh. With bash i can use set -o igncr and now my question is how to achieve the same thing with mksh (MirBSD Korn Shell)? pdksh accept

Re: CRLF setting stored

2008-01-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to [EMAIL PROTECTED] on 1/26/2008 8:37 AM: |> | Where is the CRLF setting from Cygwin setup.exe stored? |> |> $ mount -m |> $ man mount | | Many thanks, Blake. I prefer Eric, but that's the curse of a double first name :) | And from where

Re: CRLF setting stored

2008-01-26 Thread paul . hermeneutic
> | Where is the CRLF setting from Cygwin setup.exe stored? > > $ mount -m > $ man mount Many thanks, Blake. And from where does mount retrieve the setting? HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: CRLF setting stored

2008-01-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to [EMAIL PROTECTED] on 1/26/2008 7:24 AM: | Where is the CRLF setting from Cygwin setup.exe stored? $ mount -m $ man mount - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP

Re: CRLF to LF Issue

2003-07-08 Thread Dean Scarff
On July 3 at 2003 0:49, "Hannu E K Nevalainen (garbage mail)" wrote: > > FYI... :-} > > I've been in this situation since 1985 or so... (Amiga user since > then.AmigaOS uses LF EOL. Also been using MS "OS'es" since before > '85). > "My way" has been: > 1) Keep each OS clean of files not havi

RE: CRLF to LF Issue

2003-07-02 Thread Hannu E K Nevalainen (garbage mail)
can act exactly as a dos2unix utility, given the standard ARexx IPC and scriptability. --END OF MESSAGE-- > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of Richard Bland > Sent: Monday, June 30, 2003 5:18 PM > To: [EMAIL PROTECTED

RE: CRLF to LF Issue

2003-06-30 Thread Richard Bland
EMAIL PROTECTED] Subject: Re: CRLF to LF Issue On Thu, Jun 26, 2003 at 11:54:30AM +0100, Richard Bland wrote: > fashion. If I use 'patch' to apply a patch file to this source code, > the CRLF pair become a single LF for every line in the file. Cygwin patch always creates output

Re: CRLF to LF Issue

2003-06-30 Thread Corinna Vinschen
On Thu, Jun 26, 2003 at 11:54:30AM +0100, Richard Bland wrote: > fashion. If I use 'patch' to apply a patch file to this source code, the > CRLF pair become a single LF for every line in the file. Cygwin patch always creates output files in binary (LF EOL). This solves more problems (discussed ea

RE: CRLF to LF Issue

2003-06-27 Thread Richard Bland
ssage- From: Richard Bland [mailto:[EMAIL PROTECTED] Sent: 26 June 2003 17:17 To: [EMAIL PROTECTED] Subject: RE: CRLF to LF Issue All, Sorry, no joy - same outcome Here's my mount : [EMAIL PROTECTED] / $ mount C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system (

RE: CRLF to LF Issue

2003-06-26 Thread John Vincent
If you just want a quick fix, try using the dos2unix and unix2dos utilities _ On the move? Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem repo

RE: CRLF to LF Issue

2003-06-26 Thread Richard Bland
the target source code files were all under /mnt/foo (a:). I used 'mount -t a:/ /mnt/foo' for the mount. Thanks Rich -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED] Sent: 26 June 2003 16:19 To: Richard Bland Cc: [EMAIL PROTECTED] Subject: Re: CRLF to LF Is

Re: CRLF to LF Issue

2003-06-26 Thread Igor Pechtchanski
On Thu, 26 Jun 2003, Richard Bland wrote: > Hi All, > > I'm trying to use the 'patch' utility to modify some source code files > created in MS-Windows Notepad. The source code is designed to ONLY be used > in MS-Windows, so I'm not interested in porting between Unix/MS-Windows. The > source code f