delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/05/12:13:46

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=CVQPgkh4N9FSG+bfkKiVWF+g7Gw6YJhwh/a7SD7fKeSDQ4wJtBbbB
Qc58FD4hdMzxLGn98X6mYy56CGVcHHWXv5CFwSxavHkSvYlbS0gH67/J0nc0lCtk
i9wVHlZMh6JUWGQ9JPV10dV6ZgM9RwRbz/NTi8TBtktwzX3oZ/NiaM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=+4lQ2e70BlGKysOMViWSp0LUAwI=; b=yJQiXisklA0sWlG51BFDnK1r+8yg
+1R4KIniZ8LjWoUWRCDen4G3dI32wPsdp9SZm4ul8dHTdCO75K1fzIEYQ7HrdNeM
TUyqegRUCQJ/+F1GtbBzvswsiEopHZ72zlDKlLzB/wPKtGDd47inI5SWsvj5mJ9m
9pdcR2UyvoRQkj0=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-97.4 required=5.0 tests=AWL,BAYES_00,CYGWIN_OWNER_BODY,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=UD:htm, Hx-spam-relays-external:ESMTPA
X-HELO: mout.kundenserver.de
Date: Mon, 5 Mar 2018 18:13:30 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: sed seems to force UC filename on Mixed 8.3 filenames on FAT32
Message-ID: <20180305171330.GE25306@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CAKqBF1jHvNbra2a=k12nAwDE2_0W14iG1v=KhuACzPmJmicfYA AT mail DOT gmail DOT com> <000a01d3b4a0$f54ede30$dfec9a90$@rogers.com> <20180305164448 DOT GC25306 AT calimero DOT vinschen DOT de> <000a01d3b4a4$2b9c0dc0$82d42940$@rogers.com>
MIME-Version: 1.0
In-Reply-To: <000a01d3b4a4$2b9c0dc0$82d42940$@rogers.com>
User-Agent: Mutt/1.9.2 (2017-12-15)
X-UI-Out-Filterresults: notjunk:1;V01:K0:mmos7NuB91M=:Vw1Y0NfQx7tTP1yk19l7jY 7y7p41YS8o2Kb6LOZ0mKa+/GTxmdaBmVWO+eo1+HoHDqcqOqc38Ks97V3BMpVSktbIwkrBszD D3fkUd5Z05nK0b4oAPN/yXjW3BRibBljH2j6HKYlwf1xkDGbWyO7Zxv+aTqLM8zC+4zQ2zyab 6qhCcKL3afQzVogDmw2yC4fjJB2haEyrf0cXJkZH02mAqGaKljsLboXOjFOb5zMz0wg03Is2k Lmvkrg2yZwgnymfWwYAySAk6bSmLE2BMZDuB7sLLyYfuza+EswZRQXDQ/sRoY/ygEe6K54ki3 Pi/y0k3l0yctzwbPPb0P0T99QYXAALkcMcQnS3wBXNoQPBkOyhtd5vEQCC0+nX0V8QesFp0cY a1yOo0FEPC6SbvHvaegj+OtJa5wTyO26LDcFEptSD57dcbpheGEgqbOoJmgwMVHw9x6CHJqkx 3qL1CaeKAaoMZqPn62uZ3C1fyuaKKX5I3LmloKof/t7ZGndxaibh82mR1M07WrawSWLh0Kl9Z TqgpStoUS8brPjwepIIYB8HP8ZTluMJyLvP4eVLLiqxvUjMWBF0rWkv0y8uJxul7lJkXg2v31 Gb2aZaaQ0VjEgox/1yEZE9BcfIlCniV9RzMLWUQgC/zX+9BoPiuIHc6fpeIOekQECEQBneYgo uh5EAPen0a70OOgQAOAUdMSpTrQ18DMa4jQuT3tnugSfFlcn4+VqMO9XrlNm8QGMEofK0y7pM QFrArM4PrmIXwlkvWZyZbf0mEHgmFT75sJeuzQ==

--48TaNjbzBVislYPb
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mar  5 12:05, Michel LaBarre wrote:
> > From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On
> > Behalf Of Corinna Vinschen
> > On Mar  5 11:42, Michel LaBarre wrote:
> > > I have the same build 16299.248 and I get the same behaviour.
> > > Perhaps consider: http://www.zoneutils.com/regtricks/filesystem.htm
> > > for parameters to experiment with.  You can use fsutil to control som=
e of
> > these to avoid direct registry modifications.
> > > I expect it is more subtle otherwise the pervasive nature of the flag=
s would
> > mean that any file creation would result in UC names, not just dos2unix.
> > > i.e. ls > Foo.txt should produce FOO.TXT
> >=20
> > Maybne something with overwriting existung files?  What if you call
> > `ls > Foo.txt' twice in a row?
> >=20
>=20
> Nope - that works ok.  (BTW - you were fast on the reply!)
>=20
> I did try:
> 	E:\>dos2unix -n Zot.txt Foo.txt
> 	dos2unix: converting file Zot.txt to file Foo.txt in Unix format...
> 	E:\>ls
> 	 Foo.txt    Zot.txt
>=20
> I thought using -n might suffice as a quick workaround for Fergus so I tr=
ied:
>=20
> 	E:\>dos2unix -n Zot.txt Zot.txt
> 	dos2unix: converting file Zot.txt to file Zot.txt in Unix format...
> 	E:\>ls
> 	 Foo.txt  ZOT.TXT

But `mv ZOT.TXT Zot.txt' works?

Can you strace this like this after renaming the file back to Zot.txt

  $ strace -o d2u.trace dos2unix -n Zot.txt Zot.txt

and send the d2u.trace file to this list?


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--48TaNjbzBVislYPb
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlqderoACgkQ9TYGna5E
T6CySw/+MIKhK1uTNjl9k8hWHD2C1fW7y/+PBQb+R2BPpuhqLJ7Zq7HlDPTlSTfN
VFc2sdyXCYs7tMwMGaEH5+TZvT5KaGd1LTDV/afwssNLjhDaknh14N6szzvctQgX
Oevhx+JufKPtmznP6xXzFu/JIvDOFCYtg5lHOPbU0YwHlHXVRcOUrn1L79P+9zH8
dSmRTN4WL+yKYkHOiI/H5I/iC2RfYTbZxiESQS3SvWROnDCyHxQzky22d+hRNiqf
GSzc6sSZHZGUBa7CqmHE7adURNzdRdDDNSg0f1gU2ulmYad3NApYgurawbW44Jv0
c8GirkGVQmxprpef9JTb6yX0PZLdUKQqV1trYcKsIx9Cbn1gD/N+AAc8VxTdTURf
A39thmDOXExDzfSeNSAbbxYuM3fs7+loibls8W1BamQ2jr/G5+eKNJf0CWaKKlJ9
VCod4apNjZZ08uvk9VqbmHQUKh96VO6dErDxjFrKADQm4NkpPEY1JeG5+AzHtpVD
IebH32+JgaXsL1fKGZrxAPpdas+nswEiQy47jyXkVHWw8YWdGhj6gxvP8+sOEsP2
rXCWtO2v1vNu3Y06SzVf0OoghkNiYRXQGu34YIzPv4f5J9gO5eoO1xA2ztMoF1oi
c/dt+dcagwNp1j7nsrfaRd5zrwd2aHcjclK9/w71KAOmi3MZbqs=
=nKtR
-----END PGP SIGNATURE-----

--48TaNjbzBVislYPb--

- Raw text -


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