delorie.com/archives/browse.cgi | search |
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:from:to:references:in-reply-to:subject:date | |
:message-id:mime-version:content-type:content-transfer-encoding; | |
q=dns; s=default; b=oOmCYKAetSLo4jfjiebU3miZQ7pJWneteqxZ1tzRdAF | |
RU+l+D1JgzTqMCcd2kP7B+Dnuty/Z54bQraHrxnIT5gJfXypB/Oi9OenDkNP4SXJ | |
Zst0vQyOXf40NsrMvWECAu/Xz86Bpts9NGjilzFwv//yloVoHKbwUAbz8nZX5Wqo | |
= | |
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:from:to:references:in-reply-to:subject:date | |
:message-id:mime-version:content-type:content-transfer-encoding; | |
s=default; bh=Ei8LVsi3jXkss2cU6vlIOgXmERU=; b=IXmyXgltNahWjSue3 | |
7Xcyg2Ym52xdN5ADrGHo3+Mh+jF3H7Ii8LNuQvvvd87ZXr2+5T4sZRfHrDSbwi15 | |
2jrsG5Ou39kxrpGxFZtjAfr8pKMqOFjGRjj9ECbDulfgn8cEYKU8YX92uMZ6qFrJ | |
LG+n8ny8jfivgdBTzrgg1+5SwM= | |
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=-1.7 required=5.0 tests=AWL,BAYES_00,CYGWIN_OWNER_BODY,GIT_PATCH_2,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=nuts, reply!, H*UA:14.0, H*x:14.0 |
X-HELO: | sonic316-11.consmr.mail.gq1.yahoo.com |
From: | "Michel LaBarre" <michel DOT labarre AT rogers DOT com> |
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> |
In-Reply-To: | <20180305164448.GC25306@calimero.vinschen.de> |
Subject: | RE: sed seems to force UC filename on Mixed 8.3 filenames on FAT32 |
Date: | Mon, 5 Mar 2018 12:05:31 -0500 |
Message-ID: | <000a01d3b4a4$2b9c0dc0$82d42940$@rogers.com> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id w25H5ouI007631 |
> -----Original Message----- > 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: > > > > > Behalf Of Fergus Daly > > > Starting to look exactly like that. On Windows 7 there is no problem. > > > On earlier W10 machines in this office there is no problem. My machine > > > underwent a massive (time-consuming) update on or around 13-FEB to > > > Microsoft Windows Version 1709 Build 16299.248] > > > from the previous > > > Microsoft Windows Version 1703 Build 15063.936] > > > and the troubles began then: > > > > > > ~> touch TryThis.TxT > > > ~> ls T* > > > TryThis.TxT > > > ~> dos2unix TryThis.TxT > > > dos2unix: converting file TryThis.TxT to Unix format... > > > ~> ls T* > > > TRYTHIS.TXT > > > > > > This on a FAT32 stick. (Can anybody confirm this behaviour?) So I'm > > > guessing Windows has revised its default mount shortname syntax for > > > VFAT. Is there a way I can climb in and alter / override that, does > > > anybody know? > > > > 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 some of > these to avoid direct registry modifications. > > I expect it is more subtle otherwise the pervasive nature of the flags would > mean that any file creation would result in UC names, not just dos2unix. > > i.e. ls > Foo.txt should produce FOO.TXT > > Maybne something with overwriting existung files? What if you call > `ls > Foo.txt' twice in a row? > Nope - that works ok. (BTW - you were fast on the reply!) 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 I thought using -n might suffice as a quick workaround for Fergus so I tried: 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 Nuts! So the problem manifests if the input and output files are the same whether using -n or not. (Sorry Fergus - no workaround.) As an aside, I experimented with "ed" to change a file and re-write it presuming it might behave as dos2nix - nope - it preserved mixed case ok. Michel > > Corinna > > -- > Corinna Vinschen Please, send mails regarding Cygwin to > Cygwin Maintainer cygwin AT cygwin DOT com > Red Hat -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |