delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/22/20:48:28

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AE0FD0E.7090902@columbus.rr.com>
Date: Thu, 22 Oct 2009 20:47:10 -0400
From: Paul McFerrin <pmcferrin AT columbus DOT rr DOT com>
Reply-To: pmcferrin AT columbus DOT rr DOT com
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: "P.A.Long" <T DOT A DOT N DOT S DOT T DOT A DOT A DOT F DOT L AT comcast DOT net>, Cygwin <cygwin AT cygwin DOT com>
Subject: Re: gawk Has Problem With CRLF in Mixed Binary/Text Files
References: <640028070 DOT 893481256169650265 DOT JavaMail DOT root AT sz0097a DOT westchester DOT pa DOT mail DOT comcast DOT net> <4AE0F590 DOT 2080608 AT comcast DOT net>
In-Reply-To: <4AE0F590.2080608@comcast.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I don't have an answer to your specific problem.  But as a side issue, I 
see that your PATH is very long.  You might consider using a lot of hard 
links say in a directory /lbin with a buch of hard links to the real 
executables in other directories.  You can then shorten PATH and remove 
those duplicate directories.  Just be sure that /bin:/lbin is in PATH.  
The hard links would have to be recreated if you perform any upgrades to 
some things.

Hard links works outside of cygwin since they are implemented at the MS 
filesystem level.  Cygwin symbolic links are different from MS symbolic 
links.  Choose wisely.  Reminder: hard links can't cross FS boundaries

P.A.Long wrote:
> t DOT a DOT n DOT s DOT t DOT a DOT a DOT f DOT l AT comcast DOT net wrote:
>> Hello!
>>
>> I am using a gawk script on files that contain both printing 
>> characters and binary data.  Gawk is used to modify a few of the 
>> printing characters, and I expected that the binary data should be 
>> left alone.  For the most part, it is, but upon occasion a CRLF will 
>> appear inside some of the binary data.  All my mounts are binary (see 
>> cygcheck.srv, which is from my laptop), but as can be seen by the 
>> attached files, the downloaded 
>
>                              *** snip ***
>
> sigh ... didn't get 'cygcheck.srv' attached; sorry about that!
>
>                     Thx, Phil Long
>  << File:  cygcheck.srv >>
>
>
> ------------------------------------------------------------------------
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019