delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/11/01/16:10:19

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=szdse865fwOysu6LpNPa1uTCjsjmtDtsLkWQsngaKOCLoG39DBe4C
gtPAnYTL9CtfljXnMm4QFzuG4Oi7A+BuCBJYTP0U+nQa60VKCcSRc46o5Rltwu9G
0n9qZh/1qYbP42FbKfwYBcRdwv+uCixwZ3OzMsBjwwMpxu80LGabSU=
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=mqGRpWMRj9EaG46VsVdyCE3TSQo=; b=aVWPX3PbKFh8vFE8IaEIMkJsUhG8
G4tf4fRAMNa1Cacssb/le3GWAQ2X2yHJthpgbSB9bplzk+NoW0fvo8MH14Cc+0NI
qXahsy3B7LBzV6LoRuf3SPZT02IzpjXJITklGtyxYGR/9mMpwp4OMVsDvMEpRceD
SrGAM3I9Qmx0Q/c=
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=-0.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: mho-02-ewr.mailhop.org
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1/oJREifFvEt9A/gufgKFr5
Date: Fri, 1 Nov 2013 16:09:33 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: rename (util-linux 2.21.2)
Message-ID: <20131101200933.GA6827@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CADxVF5fBaYcn2ST5q35YX6aDq+zkB9v456z9-3Uvcyg9YMrNrw AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CADxVF5fBaYcn2ST5q35YX6aDq+zkB9v456z9-3Uvcyg9YMrNrw@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)

On Fri, Nov 01, 2013 at 12:27:29PM -0700, Mariusz WODZICKI wrote:
>I frequently use ``rename''. Today I discovered that the most current
>version has a changed syntax:
>
>Usage:
> rename [options] expression replacement file...
>
>Options:
> -v, --verbose    explain what is being done
> -V, --version    output version information and exit
> -h, --help       display this help and exit
>
>For years the syntax was:
>
>rename from to file...
>
>and for a reason.
>
>Now, the new ``rename'' is unable to process lots of renaming
>scenarios. Its usefulness is greatly diminished as a result. Can we
>please revert to the previous syntax?

This is a standard Linux package.  The syntax on Linux is as you see
above.  The package was last updated in November 2012 so this isn't
really new behavior.

If you don't like the behavior then you could write a shell script
wrapper which does what you want.

--
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