Mail hunch, part 2 (was: Re: [PATCH] tail: remove excessive checks on buffer sizes before printing)

2021-06-21 Thread Erik Auerswald
Hello Pádraig, On Mon, Jun 21, 2021 at 01:26:21PM +0100, Pádraig Brady wrote: > On 20/06/2021 21:19, Pádraig Brady wrote: > >On 20/06/2021 15:54, Nikolay Nechaev wrote: > >> [...] > Nikolay your response to the list didn't make it to my email > (I noticed it by chance in looking at the archives).

Mail problem hunch (was: Re: [PATCH] tail: remove excessive checks on buffer sizes before printing)

2021-06-21 Thread Erik Auerswald
Hello Pádraig, On Mon, Jun 21, 2021 at 01:26:21PM +0100, Pádraig Brady wrote: > On 20/06/2021 21:19, Pádraig Brady wrote: > >On 20/06/2021 15:54, Nikolay Nechaev wrote: > >> [...] > Nikolay your response to the list didn't make it to my email > (I noticed it by chance in looking at the archives).

Re: version-sort ugliness or bugs

2021-04-15 Thread Erik Auerswald
Hi, On Thu, Apr 15, 2021 at 11:47:34PM +0200, Vincent Lefevre wrote: > I'm currently using version-sort in order to get integers sorted > in strings (due to the lack of simple numeric sort like in zsh), > but I've noticed some ugliness. This may be bugs, not I'm not sure This seems to be quite co

Re: sort -V or ls -v sort strange behavior

2021-04-11 Thread Erik Auerswald
Hi, On 11.04.21 04:13, Ice Ninja wrote: I cannot explain why a hyphen - can change the sorting order. $ sort -V <<<'2.yamlmode 2.1.yamlmode 2.1.yaml-mode 2.yaml-mode' 2.yamlmode 2.1.yamlmode 2.1.yaml-mode 2.yaml-mode I assume the following result is expected. 2.yamlmode 2.1.yamlmode 2.yaml-mod

Re: Build error for "env" when building from git

2021-04-07 Thread Erik Auerswald
Hi, On Sat, Apr 03, 2021 at 04:43:21PM +0200, Erik Auerswald wrote: > > I have just tried to build coreutils from a git checkout, but the > build failed for "env": > [...] > I assume that "git pull" is sufficient to update a working, i.e., > bootstrapped, gi

Build error for "env" when building from git

2021-04-03 Thread Erik Auerswald
Hi, I have just tried to build coreutils from a git checkout, but the build failed for "env": 8< src/env.c:284:14: warning: implicit declaration of function 'xpalloc'; did you mean 'xcallo'? [-Wimplicit-function-declaration] ss->argv = xpalloc (ss->argv, &ss->half_alloc, 1,

Re: Support for CSV file format on sort

2021-01-30 Thread Erik Auerswald
Hi, On 30.01.21 21:28, Eric Fischer wrote: A couple of years ago I went down this route of thinking I would add CSV support to sort, and then let myself get distracted into trying to follow https://paulfitz.github.io/2017/01/24/the-year-of-poop-on-the-desktop.html Well, but not everyone is usi

Re: Support for CSV file format on sort

2021-01-30 Thread Erik Auerswald
Hi, On 30.01.21 18:36, ✓ Paul Courbis de Bridiers de Villemor wrote: Le sam. 30 janv. 2021 à 17:58, yon ar c'hall a écrit : I'm planning to make some changes to the sort utility for supporting the CSV file format, in particular about quoting, as described in RFC 4180. Actually I’d prefer to

Re: [PATCH] tee: Add -q, --quiet option to not write to stdout

2021-01-21 Thread Erik Auerswald
Hi Chris, On Thu, Jan 21, 2021 at 11:00:41PM +0100, Christian Groessler wrote: > On 1/21/21 10:41 PM, Eric Pruitt wrote: > >On Thu, Jan 21, 2021 at 07:06:01PM +0100, Christian Groessler wrote: > >>All the examples you gave in your previous email work on (I'd say) 99% of > >>*nix systems. > >> > >>

Re: [PATCH] tee: Add -q, --quiet option to not write to stdout

2021-01-21 Thread Erik Auerswald
Hi all, On Thu, Jan 21, 2021 at 07:37:16PM +0100, Alejandro Colomar (man-pages) wrote: > [...] I have to work on systems with RHEL 5 (yes, 5) and OSX, and > of course I don't expect those to accept tee -q any soon, but my best > bet to see a decent alternative some day is to write it today. User

Re: Suggestion: cdm command

2021-01-13 Thread Erik Auerswald
Hi all, On 12.01.21 16:55, Bernhard Voelker wrote: On 1/12/21 3:20 PM, Mourad Bougarne wrote: I know that there's a command option to create a directory if not exists using mkdir -p DIRECTORY_NAME, but what I suggest is create a directory if not exists when we change it, so: $ cd non-exists-d

Re: [patch] Please document the fact that df ignores reserved space

2020-12-15 Thread Erik Auerswald
Hi, On Tue, Dec 15, 2020 at 03:12:14PM +, Pádraig Brady wrote: > On 15/12/2020 11:56, Jean-Michel Vourgère wrote: > > > > I was surprised to discover that df ignores the reserved space set > > by tune2fs -m It's nice, but it would be nicer still to document it. > > I think you're saying that

Re: Enhancement Request for sha256sum - output only the SHA-256 hash alone

2020-07-18 Thread Erik Auerswald
On Fri, Jul 17, 2020 at 11:35:02PM -0600, Bob Proulx wrote: > Pádraig Brady wrote: > > jens wrote: > > > It would make shell scripts that use sha256sum much simpler. Currently it > > > is necessary to split the output of sha256sum to obtain the hash, which > > > usually requires an additional comma

Re: Disable b2sum from coreutils?

2020-07-02 Thread Erik Auerswald
Hello Jeffrey, On Thu, Jul 02, 2020 at 01:18:45AM -0400, Jeffrey Walton wrote: > The BLAKE2 folks have optimized implementations for b2sum on i686, > x86_64, NEON and PowerPC. It also has more options than the coreutils > version. > > I'd like to disable b2sum in coreutils and use the BLAKE2 team

Re: Which Coreutils Programs Use Non-Numeric Input/Data?

2020-05-26 Thread Erik Auerswald
Hi all, another way to quickly find this information about the GNU Coreutils programs is to look at the "table of contents" of the online documentation: http://www.gnu.org/software/coreutils/manual/html_node/index.html As can be gleaned from the short descriptions there, most GNU Coreutils progr

build error due to -Werror when building from git on Ubuntu 18.04

2020-05-21 Thread Erik Auerswald
Hi, when trying to build GNU Coreutils from git on Ubuntu 18.04 I get the following error: [...] CC lib/acl-internal.o lib/acl-internal.c: In function 'free_permission_context': lib/acl-internal.c:479:1: error: function might be candidate for attribute 'const' [-Werror=su

Re: suggestion: /etc/dd.conf

2020-04-28 Thread Erik Auerswald
Hello turgut, On Tue, Apr 28, 2020 at 12:14:04PM +0300, turgut kalfaoğlu wrote: > I would like to suggest and in fact volunteer to create a conf file > option to 'dd'. > > It has dozens of hard to remember options, and there are some that I > would like to use all the time. > > For example, I am

Re: new snapshot available: coreutils-8.31.90-cc4c.tar.xz

2020-02-27 Thread Erik Auerswald
Hi, On Thu, Feb 27, 2020 at 06:25:45PM +, Pádraig Brady wrote: > On 27/02/2020 18:23, Pádraig Brady wrote: > >We plan to release coreutils-8.32 in the coming week > >so any testing you can do on various different systems between now and then > >would be most welcome. > > All tests pass on: >

Re: Release schedule?

2020-01-22 Thread Erik Auerswald
Hello Bernhard, On Wed, Jan 22, 2020 at 11:55:33AM +0100, Bernhard Voelker wrote: > Hi Padraig, > > On 1/20/20 12:52 PM, Pádraig Brady wrote: > >I plan to do one in the next few weeks > > on openSUSE:Tumbleweed with glibc-2.30, I'm getting the following errors. > > CC lib/nproc.o >

Re: Removing a directory that is not empty

2019-09-03 Thread Erik Auerswald
Hi, On Mon, Sep 02, 2019 at 02:52:23PM -0400, Chaya Tova Chrein wrote: > How do I remove a directory that is not empty? Either by manually deleting the directory's contents before removing the directory, or by using the "rm" command with the "-r" option: rm -r Thanks, Erik -- And at the en

Re: md5sum outputs '-' when using stdin

2019-08-26 Thread Erik Auerswald
Hi, On Sun, Aug 25, 2019 at 09:03:33PM +0100, Stephane Chazelas wrote: > [...] > Maybe --quiet could be used to skip outputting file names. I don't think overloading --quiet this way is helpful. Changing *sum's output format should use a new option IMHO (if one wants to add this functionality an

Re: Possible ls bug?

2019-03-21 Thread Erik Auerswald
Hello Paul, On Thu, Mar 21, 2019 at 03:46:28PM +, Bartells, Paul wrote: > Thanks for responding, Kaz. What you observed is true. There is a disconnect > between the command line and the listing I provided. Apparently I picked up > the wrong listing. There was an extra "/*" in the command li

Re: [PATCH] df: Adding a --no-headers option, by request of Bruce Dubbs

2019-03-21 Thread Erik Auerswald
On Wed, Mar 20, 2019 at 02:22:42PM -0700, Kaz Kylheku (Coreutils) wrote: > On 2019-03-17 05:27, Ed Neville wrote: > >Taking suggestions into account, '--no-headers' seems more consistent > >with ps options. > > This loses on character count: > > df --no-headers > df | sed 1d > > Fully golfed

bug#33371: RFC: option for numeric sort: ignore-non-numeric characters

2018-11-19 Thread Erik Auerswald
Hi, On 11/19/18 02:08, L A Walsh wrote: On 11/14/2018 12:27 AM, Erik Auerswald wrote: On Tue, Nov 13, 2018 at 06:32:55PM -0800, L A Walsh wrote: I have a bunch of files numbered from 1-over 2000 without leading zeros (think rfc's)... They have names with a non-numeric prefix & suff

Re: bug#32127: RFE -- in the way "cp -rl" -- enable 'ln' to do likewise?

2018-07-18 Thread Erik Auerswald
Hi, On Wed, Jul 18, 2018 at 04:36:44AM -0600, Mike Hodson wrote: > On Wed, Jul 18, 2018 at 4:24 AM L A Walsh wrote: > > > In the case of creating a link to a directory there is > > no choice in creating a "working solution". If you want a link > > there, it HAS to be a symlink. That the user w

Re: bug#32127: RFE -- in the way "cp -rl" -- enable 'ln' to do likewise?

2018-07-17 Thread Erik Auerswald
Hi, On Mon, Jul 16, 2018 at 11:14:21PM +0200, Bernhard Voelker wrote: > On 07/14/2018 07:51 PM, L A Walsh wrote: > > Paul Eggert wrote: > >> On 07/12/2018 02:16 AM, L A Walsh wrote: > >>> I'm asking why does 'ln' bother to tell the user that they are > >>> wrong and do nothing useful? Why not

Re: glthread_create() failure in test-rwlock1

2018-06-26 Thread Erik Auerswald
Hi, On Tue, Jun 26, 2018 at 02:37:54AM +0200, Bruno Haible wrote: > Pádraig Brady wrote: > > Your test failure was: > > FAIL: test-rwlock1 > > == > > Unexpected outcome 3 > > FAIL test-rwlock1 (exit status: 134) > > which is due to glthread_create() failing. > > CC'ing gnul

Re: new snapshot available: coreutils-8.29.57-2ed7c2.tar.xz

2018-06-25 Thread Erik Auerswald
Hi, On Mon, Jun 25, 2018 at 12:09:21PM +0200, Erik Auerswald wrote: > On Sun, Jun 24, 2018 at 11:43:55PM -0700, Pádraig Brady wrote: > > We plan to release coreutils-8.30 in the coming week > > so any testing you can do on various different systems between now and then > >

Re: new snapshot available: coreutils-8.29.57-2ed7c2.tar.xz

2018-06-25 Thread Erik Auerswald
Hi, On Sun, Jun 24, 2018 at 11:43:55PM -0700, Pádraig Brady wrote: > We plan to release coreutils-8.30 in the coming week > so any testing you can do on various different systems between now and then > would be most welcome. I have tested on an Ubuntu 18.04 LTS system, there has been one FAIL, an

Re: is there a real escape "quoting" style for ls?

2018-05-16 Thread Erik Auerswald
Hi all, one obvious problem is that the "escape" quoting style does not[*] escape the single quote, see below. On Tue, May 15, 2018 at 04:16:14PM -0700, Kaz Kylheku (Coreutils) wrote: > On 2018-05-13 09:30, Harald Dunkel wrote: > >On 5/13/18 1:08 PM, L A Walsh wrote: > >> [...] > > escape

Re: [PATCH] build: avoid a signed overflow warning in ptx

2017-12-17 Thread Erik Auerswald
Hi, On Sat, Dec 16, 2017 at 01:11:35PM -0800, Pádraig Brady wrote: > * src/ptx.c (fix_output_parameters): GCC 6.3.1 with > ./configure --enable-single-binary would give: > error: assuming signed overflow does not occur > when simplifying conditional to constant [-Werror=strict-overflow] >

Re: improving support issues with "tail -f / unrecognized file systems"

2017-12-02 Thread Erik Auerswald
Hi Assaf, On 12/01/2017 06:07 AM, Assaf Gordon wrote: Hmm, On 2017-11-30 09:37 PM, Assaf Gordon wrote: http://files.housegordon.org/tmp/cu-fs.html I missed the 2015 commit which completely removed the warning from tail.c ( v8.24-43-ge6b3af6 ), rendering the entire thing irrelevant. Sorry fo

Re: new snapshot available: coreutils-8.27.103-db8d1

2017-08-30 Thread Erik Auerswald
Hi, On Wed, Aug 30, 2017 at 02:12:57AM -0700, Pádraig Brady wrote: > We plan to release coreutils-8.28 towards the end of this week, > so any testing you can do on various different systems between now and then > would be most welcome. For what it's worth, the new snapshot did not introduce any n

Re: new snapshot available: coreutils-8.27.99-3ebdc3

2017-08-30 Thread Erik Auerswald
Hi Pádraig, On Tue, Aug 29, 2017 at 10:14:01AM -0700, Pádraig Brady wrote: > On 29/08/17 03:23, Erik Auerswald wrote: > > On Tue, Aug 29, 2017 at 01:49:17AM -0700, Pádraig Brady wrote: > >> We plan to release coreutils-8.28 towards the end of this week, > >> so any te

Re: new snapshot available: coreutils-8.27.99-3ebdc3

2017-08-29 Thread Erik Auerswald
Hi, On Tue, Aug 29, 2017 at 01:49:17AM -0700, Pádraig Brady wrote: > We plan to release coreutils-8.28 towards the end of this week, > so any testing you can do on various different systems between now and then > would be most welcome. > [...] > tar -xf coreutils-ss.tar.xz > cd coreutils-8.27.

Re: coreutils feature requests?

2017-07-20 Thread Erik Auerswald
Hi, On Wed, Jul 19, 2017 at 09:15:43AM -0500, Eric Blake wrote: > On 07/19/2017 08:29 AM, Nellis, Kenneth wrote: > > From: Steeve McCauley > >> I can't believe I'd never thought of reordering output columns like this. > >> FWIW, I agree that another option should be used to prevent issues with

Re: coreutils feature requests?

2017-07-20 Thread Erik Auerswald
Hi Lance, On Wed, Jul 19, 2017 at 01:03:59PM -0400, Lance E Sloan wrote: > [...] > Even if this feature suggestion isn't approved by the GNU community, I will > implement it for my own use anyway. I can enjoy the new functionality > (which I think should have been added to cut long ago) and keep

Re: Problems cloning git.sv.gnu.org/coreutils

2017-04-28 Thread Erik Auerswald
Hi Andrew, On Fri, Apr 28, 2017 at 10:18:20AM +0100, Andrew Burgess wrote: > When I follow the instructions from here: > > https://www.gnu.org/software/coreutils/coreutils.html > > to clone the coreutils git repository I run into an error, here's my > terminal output: > > $ git --version >

Re: [PATCH] runcon: add --no-new-privs option

2017-04-26 Thread Erik Auerswald
Hi, just a nit, there is a typo in an error message... On Wed, Apr 26, 2017 at 03:57:12PM +0200, Sebastian Kisela wrote: > [...] > diff --git a/src/runcon.c b/src/runcon.c > index 92f519d..9021614 100644 > --- a/src/runcon.c > +++ b/src/runcon.c > [...] > @@ -157,7 +170,15 @@ main (int argc, char

Re: manpage of `dd`: multiplicative suffixes ambiguous

2016-08-18 Thread Erik Auerswald
Hi, On Thu, Aug 18, 2016 at 12:27:22PM +0200, Reuti wrote: > looking in the man page of `dd` for multiplicative suffixes I understand that > e.g. "K =1024". What I don't understand is the specification: > > xM =M GB =1000*1000*1000 > > between two commas. Is there a comma missing, or is the "x

Re: Adding FAQ entry: shell built-in (echo/printf/etc.)

2015-08-12 Thread Erik Auerswald
Hi, On Wed, Aug 12, 2015 at 12:12:45AM -0600, Bob Proulx wrote: > Assaf Gordon wrote: > > Oops, completely missed that one. > > I did not associate the wording of the question ("I am having > > problems with ...") with this type of issue (and coincidentally, the > > two programs at hand were the o

Re: chmod/chown/chgrp behavior change

2015-04-17 Thread Erik Auerswald
Hi, On Thu, Apr 16, 2015 at 11:34:34PM +0100, Pádraig Brady wrote: > On 16/04/15 23:01, Paul FM wrote: > > Many years ago I checked and chmod only changed the MTIME of a file if > > it needed to make a change to the permissions, now the mtime is changed > > on every file (even if no change is ne

Re: [PATCH] filter ls output by filetype

2013-11-28 Thread Erik Auerswald
Hi, On Fri, Nov 29, 2013 at 12:49:19AM +1100, Hal Ashburner wrote: > ls filters by filename - leading dot -a -A or --ignore pattern > I have shell script that just shows directories by interposing `test` > between two calls to ls in a pipeline to give me ls like behavior. Ls > actually knows the f

Re: Full Julian date in date command formatting options?

2013-10-11 Thread Erik Auerswald
Hi, On 10/12/2013 12:04 AM, Eric Blake wrote: [re-adding the list, with permission] On 10/11/2013 01:53 PM, Reed Underwood wrote: For example, The Julian Date for 00:30:00.0 January 1, 2013 is 2456293.520833. If the astronomical term is what you want, then maybe you really do have a format th

Re: Extend cat to have headers like head/tail

2013-05-11 Thread Erik Auerswald
Hi Eric, On Fri, May 10, 2013 at 09:18:27AM +0200, Eric Lavarde wrote: > to check multiple files I often tend to use 'cat *somefiles*' but it's > all concatenated and difficult to read, so I switch back to 'head > -nSOMETHINGBIG *somefiles*' but it's not optimal and I might miss lines > if a

Re: [PATCH 3/7] build: require Automake >= 1.11.6

2012-09-01 Thread Erik Auerswald
Hi Jim, On 09/01/2012 09:55 PM, Jim Meyering wrote: Jim Meyering wrote: Erik Auerswald wrote: ... Good point. Thanks. I'm tempted to remove the build instructions from README-prereq, and instead to include my autotools-install script under script and referencing it. WDYT? I p

Re: [PATCH 3/7] build: require Automake >= 1.11.6

2012-08-31 Thread Erik Auerswald
Hi Jim, On Fri, Aug 31, 2012 at 09:19:19AM +0200, Jim Meyering wrote: > Bernhard Voelker wrote: > > On 08/30/2012 02:13 PM, Stefano Lattarini wrote: > >> Now that we use AM_TESTS_ENVIRONMENT, we should require at least > >> Automake >= 1.11.2; but since all the Automake version until 1.11.5 > >> a

Re: rename: move command from util-linux to coreutils

2012-07-17 Thread Erik Auerswald
Hi, On 07/17/2012 05:10 PM, Sami Kerola wrote: On Mon, Jul 9, 2012 at 3:27 PM, Jim Meyering wrote: [...] A few things should be changed regardless. For consistency with other GNU tools: s/--test/--dry-run/ I changed the option to '-u, --dry-run' which is exact match with mktemp. I don'

Re: removing coreutils' final strncpy uses

2012-07-15 Thread Erik Auerswald
Hi Jim, On 07/15/2012 06:33 PM, Jim Meyering wrote: Erik Auerswald wrote: On 07/15/2012 03:57 PM, Jim Meyering wrote: Remember the strncpy prohibition I added to "make syntax-check" not too long ago? I exempted the uses in pinky.c and who.c because those programs don't re

Re: removing coreutils' final strncpy uses

2012-07-15 Thread Erik Auerswald
Hi, On 07/15/2012 03:57 PM, Jim Meyering wrote: Remember the strncpy prohibition I added to "make syntax-check" not too long ago? I exempted the uses in pinky.c and who.c because those programs don't really matter and their uses were not obviously bad. Plus, I just didn't feel like it. Well,

Re: [PATCH] build: speed up configure for releases

2012-03-14 Thread Erik Auerswald
Hi, On Wed, Mar 14, 2012 at 02:44:57PM -0600, Eric Blake wrote: > [...] > +dnl Comment this nest line out to use GNULIB_POSIXCHECK during development. the next erik -- The future is already here — it's just not very evenly distributed. -- William Gibson

Re: dd: add 'skip_bytes' and 'count_bytes' operands

2012-02-08 Thread Erik Auerswald
Hi, On Wed, Feb 08, 2012 at 09:05:43AM -0700, Eric Blake wrote: > On 02/08/2012 08:14 AM, Jérémy Compostella wrote: > >> That leads onto the only other possible implementation I suppose. > >> I.E. since we don't need to specify skip and skip_bytes together, > >> the option value could select betwe

Re: cat -n with different format?

2011-12-22 Thread Erik Auerswald
Hi, On 12/22/2011 06:14 PM, Peng Yu wrote: I want to change how the line number is displayed ~$ echo a | cat -n 1 a For example, I want it to be shown as 1:a Although this can be easily done in anything other scripting language, I'm wondering if there is an even easier way to get it do

Re: PATCH: relpath

2011-12-02 Thread Erik Auerswald
Hi, On Thu, Dec 01, 2011 at 03:18:09PM -0700, Eric Blake wrote: > On 12/01/2011 03:00 PM, Peng Yu wrote: > > > >> but few people know that hidden within readlink they will find a > >> file-name canonicalization tool > > > > The reason is "readlink" is not a good name for canonicalization. > > M

Re: [PATCH] tests: adjust PATH to include /usr/sbin for filefrag-using tests

2011-11-24 Thread Erik Auerswald
Hi, On Thu, Nov 24, 2011 at 09:10:57AM +0100, Bernhard Voelker wrote: > On 11/23/2011 10:31 PM, Bob Proulx wrote: > > Jim Meyering wrote: > >> The point is that the separation is not clear. > >> Even /sbin programs like mkfs.* can be useful to non-root users. > >> I use a few of those in parted te

Re: [PATCH] tests: adjust PATH to include /usr/sbin for filefrag-using tests

2011-11-23 Thread Erik Auerswald
Hi, On Wed, Nov 23, 2011 at 10:47:38AM +0100, Bernhard Voelker wrote: > On 11/23/2011 10:17 AM, Jim Meyering wrote: > > Bernhard Voelker wrote: > >> Although my OpenSuSE system has e2fsprogs installed, the test > >> fiemap-perf cannot use it, because /usr/sbin is missing in > >> my (non-root) user

Re: [PATCH] rm, du, chmod, chown, chgrp: use much less memory for large directories

2011-08-19 Thread Erik Auerswald
Hi, there is a typo in the NEWS entry: On Fri, Aug 19, 2011 at 06:24:46PM +0200, Jim Meyering wrote: > [...] > + fts-using tools (rm, du, chmod, chgrp, chown, chcon) no longer use memory > + proportional to the number of entries in each directory they process. > + Before, rm -rf 4-million-entr

Re: [PATCH] md5sum: Implemented --pedantic option to be more strict in verification mode

2011-07-07 Thread Erik Auerswald
Hi, On Thu, Jul 07, 2011 at 09:22:25AM +0200, Jim Meyering wrote: > schoenfeld / in-medias-res wrote: > >>From 156d7e829da3ab9d895a275c2cd02e52388bcd0d Mon Sep 17 00:00:00 2001 > > From: Patrick Schoenfeld > > Date: Mon, 17 Nov 2008 20:54:08 +0100 > > Subject: [PATCH] md5sum: Implemented --pedant

Re: rename command

2011-07-04 Thread Erik Auerswald
Hi, On Sun, Jul 03, 2011 at 12:13:52AM +0200, Sami Kerola wrote: > On Sat, Jul 2, 2011 at 17:56, Sami Kerola wrote: > [snip] > What to do with --test functionality? Instead of calling rename(oldpath, newpath) call printf("%s -> %s\n", oldpath, newpath), basically. Regards, Erik

Re: rename command

2011-06-28 Thread Erik Auerswald
Hi, On Tue, Jun 28, 2011 at 09:57:02AM +0100, Pádraig Brady wrote: > On 28/06/11 08:21, Erik Auerswald wrote: > > On Mon, Jun 27, 2011 at 05:26:48PM +0100, Pádraig Brady wrote: > >> On 27/06/11 10:11, Sami Kerola wrote: > >>> > >>> I have been lately maki

Re: rename command

2011-06-28 Thread Erik Auerswald
Hi, On Mon, Jun 27, 2011 at 05:26:48PM +0100, Pádraig Brady wrote: > On 27/06/11 10:11, Sami Kerola wrote: > > > > I have been lately making some util-linux patches and while doing > > so I found rename command. > > [...] > > I've never used rename actually, instead using find | sed | sh > in th

Re: [coreutils] [PATCH] md5sum: Add option to ignore non-existant files

2010-12-10 Thread Erik Auerswald
Hi, On Wed, Dec 08, 2010 at 10:14:50PM -0500, Luther wrote: > Normally, when I use md5sum, it's when I download a file and an MD5SUMS > file that comes with it. This MD5SUMS file usually lists many files > including the one I downloaded. When I run 'md5sum -c MD5SUMS', I get > many error messages

Re: [coreutils] seq: Add the ability to process escape characters

2010-10-29 Thread Erik Auerswald
Hi, On Fri, Oct 29, 2010 at 07:38:19AM +0200, Jim Meyering wrote: > William Plusnick wrote: > > When I was looking at seq I noticed it did not process escape character in > > the > > separator string. This renders it nearly impossible to separate the numbers > > by > > tabs in Bash because when

Re: [coreutils] cp/reflink-perm fails on btrfs (and probably on ocfs2, too)

2010-10-26 Thread Erik Auerswald
Hi, On Tue, Oct 26, 2010 at 11:39:58AM +0200, Jim Meyering wrote: > The cp/reflink-perm test fails on a btrfs file system: > > echo > file2 # file with data > cp --reflink=auto --preserve --attributes-only file2 empty_copy || fail=1 > test -s empty_copy && fail=1 > > because with --r

Re: [coreutils] cp/reflink-perm fails on btrfs (and probably on ocfs2, too)

2010-10-26 Thread Erik Auerswald
Hi, On Tue, Oct 26, 2010 at 12:57:08PM +0200, Jim Meyering wrote: > Erik Auerswald wrote: > > On Tue, Oct 26, 2010 at 11:39:58AM +0200, Jim Meyering wrote: > >> The cp/reflink-perm test fails on a btrfs file system: > >> > >> echo > file2 # file with dat