GNU bug report logs - #6554
[coreutils] Additional suffix for split

Previous Next

Package: coreutils;

Reported by: Eric Blake <eblake <at> redhat.com>

Date: Fri, 2 Jul 2010 19:53:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Pádraig Brady <P <at> draigBrady.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#6554: closed ([coreutils] Additional suffix for split)
Date: Sun, 19 Feb 2012 18:19:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 19 Feb 2012 18:16:20 +0000
with message-id <4F413C74.1020104 <at> draigBrady.com>
and subject line Re: bug#6554: [PATCH] split: Additional suffix for split (bug#6554)
has caused the debbugs.gnu.org bug report #6554,
regarding [coreutils] Additional suffix for split
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
6554: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6554
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eric Blake <eblake <at> redhat.com>
To: Peng Yu <pengyu.ut <at> gmail.com>
Cc: bug-coreutils <bug-coreutils <at> gnu.org>, coreutils <at> gnu.org
Subject: Re: [coreutils] Additional suffix for split
Date: Fri, 02 Jul 2010 13:51:44 -0600
[Message part 3 (text/plain, inline)]
[adding bug-coreutils, to create a bug id to track this by]

On 06/15/2010 09:23 PM, Peng Yu wrote:
> I need to add an additional common suffix to the files splited by
> split. Right now, I have to use mv to do so. But I feel it is
> convenient to have an option to add the suffix. Is this feature going
> to be considered to be added in the future?

Hmm, considering that we recently taught mktemp how to honor suffixes,
it does indeed sound like this might be a useful feature addition.  It's
probably not going to be my highest priority to write such a patch, but
I'll gladly review any patch written by someone else.

-- 
Eric Blake   eblake <at> redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Pádraig Brady <P <at> draigBrady.com>
To: Jérémy Compostella
 <jeremy.compostella <at> gmail.com>
Cc: Eric Blake <eblake <at> redhat.com>, coreutils <at> gnu.org,
	6554-done <at> debbugs.gnu.org, Peng Yu <pengyu.ut <at> gmail.com>
Subject: Re: bug#6554: [PATCH] split: Additional suffix for split (bug#6554)
Date: Sun, 19 Feb 2012 18:16:20 +0000
On 02/19/2012 12:54 PM, Jérémy Compostella wrote:
> Pádraig,
> 
> I replaced --suffix with --additional-suffix and made some cleaning.
> 
> Feel free to comment the attached patch.

Logic is perfect again.

I adjusted the help output a little like:

-  -a, --suffix-length=N   use suffixes of length N (default %d)\n\
-      --additional-suffix=SUFFIX  append an additional SUFFIX to output file\n\
-                                       names. SUFFIX must not contain slash.\n\
+  -a, --suffix-length=N   generate suffixes of length N (default %d)\n\
+      --additional-suffix=SUFFIX  append an additional SUFFIX to file names.\n\

I'll push later on.

cheers,
Pádraig.


This bug report was last modified 13 years and 95 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.