DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4A8Ix0dk2850978 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=DGcwPtFd X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0EF0C3858408 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1731092338; bh=wvQlmwPiO7ckJoTwtN6ReU0o74SWxWS9tdTjed2fbH8=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=DGcwPtFdAIxN4IdbZRAEoEZElZG7OkbWwsHFz15CBX+2bqsbX709SAvM35ACsP/zh v+39WmaP99Z79tWOxN4ju2jySG3qllLZM4Jyc1/kfRxzue3ysaddIqwtEw4Yu7uXXb L3MUFceGrPhralE7Dlx4CKJ+wAqIAtJnRwkigmRk= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A572A3858D20 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A572A3858D20 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1731092303; cv=none; b=hoLjepTes4Ui0KQrzRwFJevNs9ViUEXQw6rwyw88Cb51ZQ90z4QBJ6o2u3MHyX9fclYlhDQm6/+95sCbRmvHJDhOUSR/sZ3VpfCRpSkbZalYOI2TmZbdbATCj6mvYUSoY8SmO5WSgS9TbdoeXh7MjkJ5Bpjf5Fmu3o37tdQcS9E= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1731092303; c=relaxed/simple; bh=HMCf2dqS3v8Wb7lrXI2FO1ahN5CPmzA5PzZn0QcQqfQ=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=g76G4EbEZBp9K1c/6tmJzBD7gq1NR/rzSSmsfYLnLkyjX0vYvZDxSFhqtwfIPGZIjuaA2k+AkLCGBqapRxXKWHxvAtWQcsClhZWgbFwcHNzEc6yWxvUIqTZ6D1ygyuO46P41eGmO2xui5GewzykzVmZi5tbNRE8bKTeNg3markI= ARC-Authentication-Results: i=1; server2.sourceware.org X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731092299; x=1731697099; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=X0JzoUkccpf3h/VzhJ4mwtrtZbmxRcm9xOTy8QFtQk0=; b=nFFqJHtQf7TFoX0mhZIIhII1KtjLZxKWoV8ia1lgaHvf4wWYV9IKzwEI5KY7l9gIRM YKEcAfIhFVpTaqt/rG1IpU+k8Dle7e3vjYhUiGud2aHiBHe+Fns6rwrslt4nKXZgzUef pdYhuk1fZNI9B6y7T6mTc9YdawRjU0aKIoGeRclGyS1JNPuCooncCeUhh7Z1oBE9zoAN thGDm50fPzaRxF1HqDpDlMq0tcKWmkwKGSnyErMZ55KSq1Gl2wWa9EfVRvgbA6pkcVCn 1uOLxvi3axMyJXPsjQ+CxqUcfvbl3gdaaEhAibIm7UVoGb6fcH1WJ9+JVT1WBDmXXckN UEtA== X-Gm-Message-State: AOJu0YzhJaOKzaudTi0HnR17+O5lUW5anCGWIyASqgBPkidcZ911Lopd zLKifuGggAUKTfzPb7gTHaswDM1KbRfL7dJAFnr1PQudgCvMhVV2VJu6hEL8ULJaT47Xx63xuSH mR4Yl7FqOjXbjvX/zB7MM8whTKTO9jg== X-Google-Smtp-Source: AGHT+IH87GmDOonMul1LOFVeLs9gSSZAWsjXlz+DYgyUeRffOQpurgfTokZsNzvdu5nGS9i8nQOOu9J6k6JsZbKZ+dQ= X-Received: by 2002:a17:90b:5484:b0:2e2:bb32:73eb with SMTP id 98e67ed59e1d1-2e9b178ea9emr5164811a91.31.1731092299258; Fri, 08 Nov 2024 10:58:19 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 8 Nov 2024 13:58:04 -0500 Message-ID: Subject: Re: cygpath command no longer accepts -s (--short-name) switch To: "cygwin AT cygwin DOT com" X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Soren via Cygwin Reply-To: Soren Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 4A8Ix0dk2850978 Thank you, Dimitry, I understand now why it went wrong. I don't know what I was thinking, trying to combine -u with -s.You example is useful. Thank you also, Corinna. -- Soren On Fri, Nov 8, 2024 at 10:30 AM Dimitry Andric < dimitry AT unified-streaming DOT com> wrote: > On 8 Nov 2024, at 16:20, Soren via Cygwin wrote: > > > > > > Hello users. I have a reasonably recently installed Cygwin that I've kept > > updated with setup. I am just now seeing that the provided `cygpath` > > command no longer works the way it ought to. Could someone(s) confirm or > > deny this? And fix it, because it is an important facility. > > > > $ cygpath -ua --short-name '/cygdrive/c/Users/somia/Local Settings' > > [dumps you into "help"] > > $ cygpath --version > > cygpath (cygwin) 3.5.4 > > > > Appreciation in advance for your interest and help. > > From the usage message, I think it is intentional: > > -s, --short-name print DOS (short) form of NAMEs (with -w, -m only) > > So you cannot use -u together with -s/--short-name. > > As a workaround, you could try: > > cygpath -u $(cygpath -ma --short-name '/cygdrive/c/Users/somia/Local > Settings') > > which would first convert to mixed style ("C:/Users/somia/LOCALS~1"), then > back to unix style ("/cygdrive/c/Users/somia/LOCALS~1"). I suppose that is > what you want? > > -Dimitry > > -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple