Re: cut -DF

2022-01-25 Thread Assaf Gordon
cut: change -D long-option equivalent [PATCH 14/18] doc: mention 'cut -D' in NEWS [PATCH 15/18] doc: mention 'cut -F' in NEWS [PATCH 16/18] doc: mention 'cut -O' in NEWS [PATCH 17/18] doc: mention multibyte 'cut -c' in NEWS [PATCH 18/18] doc: expand 'c

Re: Compilations warnings-as-errors when building from git

2022-01-13 Thread Assaf Gordon
follow-up: On 2022-01-13 11:22 p.m., Assaf Gordon wrote: I'm getting few warnings-as-errors when building the latest version from git (using Debian 10 amd64 with gcc 8.3.0). with clang-14 ( Debian clang version 14.0.0-++20211220125923+c79a67196828-1~exp1~20211220130019.184 ) I'm

Compilations warnings-as-errors when building from git

2022-01-13 Thread Assaf Gordon
Hi all, I'm getting few warnings-as-errors when building the latest version from git (using Debian 10 amd64 with gcc 8.3.0). I can send a patch for the "malloc" one, but not sure about the intricates of intprops.h . - assaf lib/randperm.c: In function 'sparse_new': lib/randperm.c:111:1

Re: cut -DF

2022-01-06 Thread Assaf Gordon
ts and write documentation. There are likely some edge-cases regarding regex matching that need to be decided upon (e.g. BRE or ERE, what about BOL/EOL anchors, groups, etc.). Comments and feedback very welcomed, regards, - assaf >From dbfdef9a720c8ea9ed1a90a4e4c66aa7e0ed3e1f Mon Sep 17 00:00:

Re: cut -DF

2022-01-05 Thread Assaf Gordon
Hello Rob and all, On 2022-01-05 9:23 a.m., Rob Landley wrote: Around 5 years ago toybox added the -D, -F, and -O options to cut: -D Don't sort/collate selections or match -fF lines without delimiter -F Select fields separated by DELIM regex -O Output delimiter (default one s

[cfarm-users] gcc304 (Mac M1) , gcc302 (OpenBSD) - updated

2021-12-15 Thread Assaf Gordon via cfarm-users
at this machine is for and that's OK (within reason). But if these are stale files from older builds that aren't currently needed - please be a good netizen and clean up your home directory. regards, - assaf gordon ___ cfarm-use

Re: connecting multiple INSERT CTEs to same record?

2021-10-19 Thread Assaf Gordon
h the data select * from new_data_with_ids ; === Thank you! Regards, - Assaf Gordon

connecting multiple INSERT CTEs to same record?

2021-10-19 Thread Assaf Gordon
contrived example, in my use-case I need to update several tables. Of course it can be done on the application-level, one-by-one inserting new 'student' then inserting its 'classes' - but I prefer to avoid that. Sadly, I can't assume the student name is unique, so I can't "join" on it. Thanks! - Assaf Gordon

bug#49741: basenc --base64url decoding bug

2021-08-29 Thread Assaf Gordon
tag 49741 fixed close 49741 stop On 2021-08-22 4:15 p.m., Assaf Gordon wrote: Attached a suggested fix. pushed in: https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=709d1f8253072804cc27189a6f2b873d8d563399

Re: [cfarm-users] libffi-dev on gcc301.

2021-08-28 Thread Assaf Gordon via cfarm-users
On 2021-08-26 3:35 p.m., Kaz Kylheku via cfarm-users wrote: The one Alpine Linux machine [...] Would it be possible to install the libffi-dev package? done ___ cfarm-users mailing list cfarm-users@lists.tetaneutral.net https://lists.tetaneutral.net/l

bug#50151: Coreutils, aarch64 and chroot

2021-08-25 Thread Assaf Gordon
tag 50151 notabug close 50151 stop On 2021-08-25 12:54 p.m., Frans de Boer wrote: On 8/25/21 10:16 AM, Assaf Gordon wrote:   qemu-aarch64 -strace -L /newroot \   /newroot/usr/sbin/chroot /newroot /usr/bin/env --version 2&1 \   | tee log.txt @assaf: your suggestions no. 1 a

bug#50151: Coreutils, aarch64 and chroot

2021-08-25 Thread Assaf Gordon
Hello, On 2021-08-24 2:39 a.m., Paul Eggert wrote: However, I think it'll be a better use of our time for you to debug this one yourself. It doesn't sound like a Coreutils problem; it sounds like a problem in your virtual machine setup, and you're the best expert on that setup. Few suggestio

bug#49741: basenc --base64url decoding bug

2021-08-22 Thread Assaf Gordon
On 2021-08-17 3:37 a.m., Jim Meyering wrote: On Tue, Aug 17, 2021 at 2:02 AM Pádraig Brady wrote: On 16/08/2021 22:17, Assaf Gordon wrote: Attached a suggested fix. minor nit in NEWS: a nit in the commit log: Thanks, attached updated patch. Will push this week if there are no other

bug#49741: basenc --base64url decoding bug

2021-08-16 Thread Assaf Gordon
Hello Emil and all, Thanks for the clear and easily reproducible bug report. Attached a suggested fix. Comments very welcomed, - Assaf >From 11330058443e7cc92b4a53322d810725d42b4e34 Mon Sep 17 00:00:00 2001 From: Assaf Gordon Date: Mon, 16 Aug 2021 15:03:36 -0600 Subject: [PATCH] basenc:

bug#49741: basenc --base64url decoding bug

2021-08-13 Thread Assaf Gordon
Hi, I will also work on it this weekend. -assaf On 2021-08-12 7:37 p.m., Paul Eggert wrote: Simon, this looks like some sort of minor buffering problem in 'basenc --base64', since plain 'base64' works correctly. Is this something you have time to look into? https://bugs.gnu.org/49741

Re: bug#49308: GNU sed for Tru6 configure CFLAGS?

2021-08-04 Thread Assaf Gordon
(adding gnulib@) Hello, On 2021-07-01 12:35 a.m., Jay K wrote: Hi. I built GNU sed for Tru64. With native cc, not gcc. I realize it is an old system. $ uname -srm OSF1 V5.1 alpha $ which cc /usr/bin/cc $ cc -V Compaq C V6.5-303 (dtk) on HP Tru64 UNIX V5.1B (Rev. 2650) Compiler Driver V6.5-30

Re: question

2021-04-29 Thread Assaf Gordon
Hello, On 2021-04-29 12:34 p.m., steve.lowder.ctr--- via GNU coreutils General Discussion wrote: Can you tell me what version of the GNU coreutils did the od command add the -endian option? Looking at the "NEWS" file ( https://git.savannah.gnu.org/cgit/coreutils.git/tree/NEWS#n1135 ), "-

Re: [PATCH] wc: Add AVX2 optimization when counting only lines

2021-04-21 Thread Assaf Gordon
Hello, On 2021-03-29 7:21 a.m., Pádraig Brady wrote: On 28/03/2021 18:29, Kristoffer Brånemyr via GNU coreutils General I wanted to practice some more using vector intrinsics, so I made a small AVX2 optimization for wc -l. Depending on line length it is about 2-5x faster than previous version

Re: [cfarm-users] [cfarm-announces] New Apple Mac M1 machine (gcc304)

2021-03-31 Thread Assaf Gordon via cfarm-users
e the recent upgrade two days ago botched these things (the SSH login, and the "xcode" installation). These should work now, but of course let me know if you spot other issues. regards, - assaf gordon ___ cfarm-users mailing list cfarm

[cfarm-users] AppleMac M1 screen/nohup problems (was: Trouble with new Apple Mac M1)

2021-03-23 Thread Assaf Gordon via cfarm-users
_getenv U _getopt U _isatty U _lseek U _open U _optind U _signal U _snprintf === It is a custom Apple addition: https://opensource.apple.com/source/shell_cmds/shell_cmds-149/nohup/nohup.c.au

Re: [cfarm-users] New Apple Mac M1 machine (gcc304)

2021-03-22 Thread Assaf Gordon via cfarm-users
alations? - can you only use Apple-signed lldb, or any debugger? - will it compromise SIP ( https://en.wikipedia.org/wiki/System_Integrity_Protection ) ? If you have concrete details about these, please do share. regards, - assaf gordon === CRASH report (shown after restart) = Attempting to

bug#44704: uniq: replace repeated lines with a message about how many repeated lines

2020-11-17 Thread Assaf Gordon
tag 44704 notabug severity 44704 wishlist stop Hello, On 2020-11-17 6:32 a.m., Brian J. Murrell wrote: It would be a useful enhancement to uniq to replace all lines considered non-uniq (i.e. those that would be removed from the output) with a message about how many times the previous line was r

Re: Enhancement Request: sort: skip table caption (or just a specified number of lines)

2020-11-05 Thread Assaf Gordon
Hello, On 2020-11-05 10:23 a.m., Michael Mess wrote: I have a feature request for the sort command: I would like to sort a table but do not want to sort the column names a the top. Thus the column names or a specified number of lines should be just given out as they are, unsorted. This has bee

bug#43684: Problem with numerical splitting with files > 90*l

2020-09-29 Thread Assaf Gordon
On 29/09/2020 02:18, ned haughton wrote: When splitting with -d, the numbering screws up after 89: In addition to Pádraig explanation, please see previous similar discussion here: https://lists.gnu.org/archive/html/bug-coreutils/2017-02/msg00050.html http://bugs.gnu.org/25832 regards,

bug#42340: Fwd: bug#42340: "join" reports that "sort"ed input is not sorted

2020-07-15 Thread Assaf Gordon
Hello, On 2020-07-15 2:12 p.m., Beth Andres-Beck wrote: If that is the intended behavior, the bug is that: printf '12,\n1,\n' | sort -t, -k1 -s 1, 12, does _not_ take the remainder of the line into account, and only sorts on the initial field, prioritizing length. It is at the very least une

bug#42340: "join" reports that "sort"ed input is not sorted

2020-07-12 Thread Assaf Gordon
tags 42340 notabug close 42340 stop Hello, On 2020-07-12 5:57 p.m., Beth Andres-Beck wrote: In trying to use `join` with `sort` I discovered odd behavior: even after running a file through `sort` using the same delimiter, `join` would still complain that it was out of order. [...] Here is a w

[cfarm-users] Upgraded: gcc300/301/302 (OpenBSD, NetBSD, AlpineLinux)

2020-07-08 Thread Assaf Gordon via cfarm-users
Hello, The following have been upgraded: gcc300 - NetBSD 8.1 to 9.0 gcc301 - Alpine-Linux 3.10.3 to 3.12.0 gcc302 - OpenBSD 6.6 to 6.7 regards, - gordon ___ cfarm-users mailing list cfarm-users@lists.tetaneutral.net https://lists.tetaneutral.n

Re: [PATCH] maint: add sm3sum based on OSCCA SM3 secure hash

2020-06-09 Thread Assaf Gordon
Hello, On 2020-06-09 12:23 a.m., Tianjia Zhang wrote: Add message digest program sm3sum, it use OSCCA SM3 secure hash (OSCCA GM/T 0004-2012 SM3) generic hash transformation. There has already been a discussion about adding SM3 to coreutils three years ago, and it was decided against adding it

bug#41687: regex search for indexed files

2020-06-06 Thread Assaf Gordon
tag 41687 notabug close 41687 stop Hello, On 2020-06-03 8:27 a.m., Peng Yu wrote: grep can do regex search but it needs to scan each file. When the number of files are large, it can be slow. Is there an alternative tool that can do regex search in the indexed files (including .docx .pdf and ot

Re: [PATCH] md5sum: add an option to change directory

2020-05-30 Thread Assaf Gordon
Hello, On 2020-05-30 3:59 p.m., Bertrand Jacquin wrote: [...] This definitely make sense $ sha256sum -C /etc fstab b5d6c0e5e6bc419b134478ad7b3e7c8cc628049876a7772cea469e81e4b0e0e5 fstab The net effect is that just the output has changed to omit the path name. Maybe this wants to be a

Re: Extend uniq to support unsorted list based on hashtable

2020-05-29 Thread Assaf Gordon
Hello, On 2020-05-29 10:16 p.m., Yair Lenga wrote: Wanted to suggest that the team will look (again) at implementing --unsorted option for 'uniq'. The idea was proposed (and rejected) about 10 years ago (https://lists.gnu.org/archive/html/coreutils/2011-11/msg00016.html). Lot of things have cha

Re: [PATCH] md5sum: add an option to change directory

2020-05-20 Thread Assaf Gordon
Hello, On 2020-05-20 3:15 p.m., Bertrand Jacquin wrote: In the fashion of make and git, add the ability for all sum tools to change directory before reading a file. [...] $ sha256sum -C /etc fstab b5d6c0e5e6bc419b134478ad7b3e7c8cc628049876a7772cea469e81e4b0e0e5 fstab I'm not entirely

Re: suggestion: /etc/dd.conf

2020-04-29 Thread Assaf Gordon
Hello, On 2020-04-28 3:14 a.m., turgut kalfaoğlu wrote: I would like to suggest and in fact volunteer to create a conf file option to 'dd'. Adding to others replies, similar suggestions for Coreutils configuration files have been discussed in the past, and rejected: https://www.gnu.org/softw

Re: decorate - new sorting-helper program (experimental)

2020-04-24 Thread Assaf Gordon
Hello, Just a quick note that the "decorate" program (explained below) was just released as part of GNU datamash 1.7: https://lists.gnu.org/archive/html/info-gnu/2020-04/msg00011.html Comments, suggestions and feedback are very welcomed. On 2020-04-13 1:14 p.m., Assaf Go

GNU Datamash 1.7 released

2020-04-23 Thread Assaf Gordon
re/datamash/ Please report any problem you may experience to the bug-datam...@gnu.org mailing list. Happy Hacking! - Assaf Gordon == Here are the compressed sources and a GPG detached signature[*]: https://ftp.gnu.org/gnu/datamash/datam

Re: decorate - new sorting-helper program (experimental)

2020-04-14 Thread Assaf Gordon
Hello Bernhard, Thanks for the feedback and thanks trying it (or trying to try it :) ). On 2020-04-14 12:51 a.m., Bernhard Voelker wrote: On 2020-04-13 21:14, Assaf Gordon wrote: I'm happy to announce the first experimental release of the "decorate" program. The program

decorate - new sorting-helper program (experimental)

2020-04-13 Thread Assaf Gordon
Hello, I'm happy to announce the first experimental release of the "decorate" program. 'decorate' works in tandem with coreutils' sort(1) to allow new sorting methods (e.g. IP addresses, roman numerals, string lengths). This is a new program but an old idea, suggested by Pádraig here: https://

bug#40530: feature proposal: coreutils -> sort: adding sorting ability for Hebrew numerals

2020-04-09 Thread Assaf Gordon
Hello, > On Apr 9, 2020, at 3:23 PM, Zeev Pekar wrote: > > it would be nice to be able to sort (coreutils -> sort) Hebrew numerals: An interesting idea, but I think it is a bit too niche to be included in the coreutils “sort” program (tradeoff of usefulness vs bloat). However, such functional

Re: altchars for base64

2020-03-15 Thread Assaf Gordon
Hello, On 2020-03-15 12:12 a.m., Kaz Kylheku (Coreutils) wrote: On 2020-03-14 22:20, Peng Yu wrote: Python base64 decoder has the altchars option. [...] But I don't see such an option in coreutils' base64. Can this option be added? Thanks. # use %* instead of +/: base64 whatever | tr '+/' '

GNU Datamash 1.6 released

2020-02-24 Thread Assaf Gordon
extual and statistical operations on input textual data files. GNU Datamash home page: https://www.gnu.org/software/datamash/ Please report any problem you may experience to the bug-datam...@gnu.org mailing list. Happy Hacking! - As

users.txt: add datamash, time

2020-02-23 Thread Assaf Gordon
Hello, I propose the following small addition to users.txt . -assaf >From b3bf948d4179ef144a87568ecd282e960f6bf293 Mon Sep 17 00:00:00 2001 From: Assaf Gordon Date: Sun, 23 Feb 2020 23:07:42 -0700 Subject: [PATCH] users.txt: Add datamash, time * users.txt: Add datamash, time. --- Change

Re: bug#39652: SED preinstall check failed

2020-02-19 Thread Assaf Gordon
tag 39652 moreinfo stop (added bug-gnulib@) Hello, On 2020-02-17 8:12 p.m., Gopinath Sekar via wrote: FAIL: test-rename [...] See gnulib-tests/test-suite.log Please report to bug-...@gnu.org

Re: Suggestion: Keep headings when sorted

2020-01-24 Thread Assaf Gordon
Hello, On 2020-01-21 2:14 a.m., Mattias Johansson wrote: I often find that I want to keep one or a few lines untouched by sort, and end up using something like this: $ awk 'NR == 1; NR > 1 { print $0 | "sort" }' It would be handy if sort had an option for 'number of heading lines' or similar

Re: base64 utilty Question

2020-01-03 Thread Assaf Gordon
Hello, On 2020-01-03 1:00 p.m., Bahubali Y wrote: I have question about base64. If I have "LF" as line terminator will that me converted to "CRLF" in base64 encoding ?. Generally no. GNU base64 preserves the input exactly. Example: $ printf "hello\n" | base64 | base64 -d | od -tx1c -An

Re: [PATCH] ls: support --time=creation to show/sort birth time

2020-01-02 Thread Assaf Gordon
Hello, On 2020-01-02 2:01 p.m., Pádraig Brady wrote: On 02/01/2020 20:29, Assaf Gordon wrote: Regarding "fall back to mtime", I'm seeing the following results on some systems - not necessarily a bug, but perhaps it's worth knowing what to expect: * Debian 10/x86_64, Linux

Re: [PATCH] ls: support --time=creation to show/sort birth time

2020-01-02 Thread Assaf Gordon
Hello Pádraig and all, On 2020-01-02 10:48 a.m., Pádraig Brady wrote: + ls now supports the --time=birth option to display and sort by + file creation time, where available. +1 Patch looks good, builds and passes the test on Debian 10/x86_64, OpenBSD 6.6, FreeBSD 12.1, Alpine Linux, and Cy

Re: [platform-testers] please test inetutils 1.9.5 rc1

2020-01-01 Thread Assaf Gordon
Hello, On 2020-01-01 6:45 a.m., Simon Josefsson via platform-testers wrote: https://josefsson.org/tmp/inetutils-1.9.4.50-9410.tar.xz Test results from various systems (just running "configure && make && make check): No failures on the following: Debian 8.11 (mips64) Debian unstable (s

[cfarm-users] Planned upgrade: gcc300/301/302/303 (OpenBSD, FreeBSD, NetBSD, AlpineLinux)

2019-12-18 Thread Assaf Gordon via cfarm-users
Hello, Just a heads-up - I plan to upgrade the following VMs this week: gcc300 - NetBSD 8.0 to 8.1 gcc301 - AlpineLinux 3.9.2 to 3.10.3 gcc302 - OpenBSD 6.5 to 6.6 gcc303 - FreeBSD 12.0 to 12.1 There might be some downtime. User home directories should not be affected. Note: On the GCC

Re: Decimal time support in 'date'

2019-12-13 Thread Assaf Gordon
Hello, On Thu, Dec 12, 2019 at 6:57 PM za3k--- via GNU coreutils General Discussion wrote: > > I am interested in adding support for decimal time to 'date', but before > I dive into writing a patch, I wanted to ask whether the patch has a > chance of being accepted--this may just be too obscure.

Re: [cfarm-users] [cfarm-admins] gcc303 is out of space on /

2019-11-22 Thread Assaf Gordon via cfarm-users
Hello, On 2019-11-22 4:38 p.m., Segher Boessenkool via cfarm-users wrote: [cc: cfarm-users@] On Fri, Nov 22, 2019 at 04:01:47PM -0600, Christian Biesinger via cfarm-admins wrote: I noticed that gcc303 (FreeBSD) is out of space on the root partition, which includes /tmp. This makes it hard to

bug#38003: date --date=-1month gives same month today

2019-10-31 Thread Assaf Gordon
tag 38003 notabug close 38003 stop Hello, On 2019-10-31 2:34 a.m., Ilja Honkonen wrote: Please CC me as I'm not on this list. Running date (GNU coreutils) 8.26 on fedora 30 today (date --utc  -I: 2019-10-31) with --date=-1month gives the same month which doesn't make sense: $ date --utc -I --

Re: How to implement the V comparsion used by sort in python?

2019-10-28 Thread Assaf Gordon
Hello, On 2019-10-28 3:00 a.m., Florian Weimer wrote: * Assaf Gordon: On Oct 26, 2019, at 5:05 PM, Peng Yu wrote: Are you sure they are 100% compatible with V? I don’t want to use them just later find they are not 100% compatible. There are no such guarantees, especially not with free

Re: How to implement the V comparsion used by sort in python?

2019-10-27 Thread Assaf Gordon
Hello, > On Oct 26, 2019, at 5:05 PM, Peng Yu wrote: > > Are you sure they are 100% compatible with V? I don’t want to use them just > later find they are not 100% compatible. There are no such guarantees, especially not with free software. The details I previously sent to you ( https://list

Re: How to implement the V comparsion used by sort in python?

2019-10-26 Thread Assaf Gordon
Hello, > On Oct 25, 2019, at 8:00 PM, Peng Yu wrote: > > > I'd like to mimic the V sort order in python. Is there any easy to use > comparison available in python? A simple online search will show several python packages that can do it. For example: https://deb-pkg-tools.readthedocs.io/en/lat

Re: Does head util cause SIGPIPE?

2019-10-25 Thread Assaf Gordon
Hello, The question "does head cause SIGPIPE" is seemingly simple, and the answer is "yes" - but there are some nuances that might cause unexpected results. More specifically, 1. The "head" process terminates when all requested lines have been printed (e.g. one line with "head -n1"). 2. The S

bug#37702: Suggestion for 'df' utility

2019-10-13 Thread Assaf Gordon
Hello Bernhard, On 2019-10-13 3:57 p.m., Bernhard Voelker wrote: On 2019-10-13 23:28, Paul Eggert wrote: In any sane system there would be only four lines of non-header output (for tmpfs etc, /, /home, and /media/eggert/B827-D456), but df is outputting 28 lines. What is so special about tmpfs

bug#37702: Suggestion for 'df' utility

2019-10-13 Thread Assaf Gordon
On 2019-10-13 3:28 p.m., Paul Eggert wrote: [..] I mean c'mon, here's the output of 'df' on the Ubuntu 18.04.3 LTS workstation I'm typing this particular message on. In any sane system there would be only four lines of non-header output (for tmpfs etc, /, /home, and /media/eggert/B827-D456), bu

Re: git-version-gen: allow 'snapshot' as .tarball-version contents

2019-10-13 Thread Assaf Gordon
Hello Bruno, On 2019-10-13 3:18 p.m., Bruno Haible wrote: Dmitry V. Levin wrote: I need a non-numeric version for continuous publishing of gettext snapshot tarballs, and I want the tarballs to be called gettext-snapshot.tar.gz, I wonder how users of these tarballs would be able to identify sn

bug#37702: Suggestion for 'df' utility

2019-10-13 Thread Assaf Gordon
Hi all, On 2019-10-13 2:27 p.m., Paul Eggert wrote: On 10/13/19 2:41 AM, Pádraig Brady wrote: I wonder could we key (also) on used==0||available==0. Yes, looking at the sample output I gave earlier, I'd say we could by default drop filesystems where usage is 1% or less. That would solve the

Re: md5sum and recursive traversal of dirs

2019-10-12 Thread Assaf Gordon
( adding bug-time@ ) Hello, On 2019-10-10 11:29 a.m., Сергей Кузнецов wrote: [...] By the way, I wrote two new small programs: xchg (or swap, which name is better?) And exst (exit status). [...] The second program launches the program indicated at startup and, after its completion, prints the o

Re: Is natural sort supported?

2019-10-08 Thread Assaf Gordon
(please use "reply-all" or "reply-group" to keep the coreutils@ mailing list in the loop) On 2019-10-08 1:09 a.m., Peng Yu wrote: Then, the option name causes misunderstand. -V is actually --debian-version. Or simply "--version-sort" as it is now. The natural order is plain and simple, just

Re: Is natural sort supported?

2019-10-07 Thread Assaf Gordon
Hello, On 2019-10-08 12:36 a.m., Peng Yu wrote: The following example shows that version sort is not natural sort. Is natural sort supported in by `sort`? There is no such thing as "THE correct natural sort" order... $ printf '%s\n' 1G13 1.02 | LC_ALL=C sort -k 1,1V # The result order should

GNU Datamash 1.5 released

2019-09-17 Thread Assaf Gordon
to the bug-datam...@gnu.org mailing list. Happy Hacking! - Assaf Gordon == Here are the compressed sources and a GPG detached signature[*]: https://ftp.gnu.org/gnu/datamash/datamash-1.5.tar.gz https://ftp.gnu.org/gnu/datamash

gnupload with gpg>=v2.1 fails due to missing TTY

2019-09-17 Thread Assaf Gordon
Hello, While uploading a new archive to ftp.gnu.org, I noticed that gnupload does not play nice with newer version of gpg. On Debian 10 with /usr/bin/gpg being "gpg (GnuPG) 2.2.12", the signage step fails with: $ ./build-aux/gnupload --to ftp.gnu.org:datamash datamash-1.5.tar.gz Enter GPG

Re: The output from GNU Core Utilities dd is different in apline and ubuntu

2019-09-09 Thread Assaf Gordon
Hello, On 2019-09-09 6:39 a.m., 薛帅 wrote: In Ubuntu 18.04.1 LTS, the `dd` command output three lines. [...] While in apline 3.9.0, the `dd` command output only two lines. Alpine linux does not use "coreutils" programs in the default installation. Most of the equivalent programs are from busy

test-symlink fails on "lustre" file system (was: bug#37312: test failure in sed-4.7)

2019-09-05 Thread Assaf Gordon
(adding bug-gnulib@) Hello, Thomas Oppe (CC'd) reported the following gnulib test failure on GNU/Linux with "lustre" file system. Details below: === The system details are: 1. Is this reproducible? After running "make check", there should be an executable file called "gnulib-tests/te

[bug-diffutils] bug#35256: bug#35256: Bug report for -W argument (maximum width) - minor and not dangerous

2019-08-27 Thread Assaf Gordon
Hello, Slightly off-topic, but potentially helpful: On 2019-08-27 5:23 p.m., Paul Eggert wrote: a...@unifiedmathematics.com wrote: I know diff is used by A LOT of other programs, some of which are web-accessible [...] if you let a remote attacker specify an arbitrary option to GNU diff the

Re: Automake 1.16.1: problem with non-gnu make and gnulib

2019-08-24 Thread Assaf Gordon
Hello Bob, On 2019-08-24 5:26 p.m., Bob Friesenhahn wrote: On Sat, 24 Aug 2019, Assaf Gordon wrote: hello_LDADD =  $(top_builddir)/lib/lib$(PACKAGE).a datamash_LDADD =  $(top_builddir)/lib/lib$(PACKAGE).a This seems like a bug in those two packages.  It should never be desirable to refer to

Re: Automake 1.16.1: problem with non-gnu make and gnulib

2019-08-24 Thread Assaf Gordon
Issue solved! Thanks to Bruno Haible in https://lists.gnu.org/r/bug-gnulib/2019-08/msg00064.html Quoting that message (and my reply): --- On 2019-08-24 3:36 p.m., Bruno Haible wrote: I think the problem is that 'bmake' does not consider the targets 'foo' and './foo' as being the same. And

Re: iconv_open: non-gnu make fails to generate "iconv_open-aix.h"

2019-08-24 Thread Assaf Gordon
WOW! Bruno, that was exactly the issue! I should've asked you directly before spending hours debugging and bisecting :) On 2019-08-24 3:36 p.m., Bruno Haible wrote: The fact that the error message in both case is "don't know how to make " perhaps hints there's some common dependency detec

Re: Automake 1.16.1: problem with non-gnu make and gnulib

2019-08-24 Thread Assaf Gordon
Hello Mathieu, Karl, On 2019-08-24 11:43 a.m., Mathieu Lirzin wrote: On Sat, 24 Aug 2019, Assaf Gordon wrote: I've encountered a problem where a released tarball (of 'make dist') generated by Automake-1.16.1 fails to build with non-gnu make (e.g. "bmake" on BSDs). T

Re: iconv_open: non-gnu make fails to generate "iconv_open-aix.h"

2019-08-24 Thread Assaf Gordon
On 2019-08-24 3:08 p.m., Bruno Haible wrote: Assaf Gordon wrote: this version of "make" is the native version (=preinstalled by the operating system) in FreeBSD and NetBSD So, by improving the support for OpenBSD I regressed on the same feature in FreeBSD? Ouch. Somewhat related,

Re: iconv_open: non-gnu make fails to generate "iconv_open-aix.h"

2019-08-24 Thread Assaf Gordon
Hello Bruno, On 2019-08-24 2:19 a.m., Bruno Haible wrote: Perhaps this is a non-issue, and only gnu-make is supported for this bootstrapping stage (and non-gnu makes are only supported after "make dist"). Still, worth reporting. Indeed, we need to distinguish the two uses: Building from a tarb

Re: Automake 1.16.1: problem with non-gnu make and gnulib

2019-08-24 Thread Assaf Gordon
On 2019-08-24 7:34 a.m., Bob Friesenhahn wrote: On Sat, 24 Aug 2019, Assaf Gordon wrote: I've encountered a problem where a released tarball (of 'make dist') generated by Automake-1.16.1 fails to build with non-gnu make (e.g. "bmake" on BSDs). The exact same pro

Automake 1.16.1: problem with non-gnu make and gnulib

2019-08-24 Thread Assaf Gordon
Hello, I've encountered a problem where a released tarball (of 'make dist') generated by Automake-1.16.1 fails to build with non-gnu make (e.g. "bmake" on BSDs). The exact same project and 'make dist' with automake-1.15 builds fine. It has something to do with non-recursive makefile structure co

: gettext-and-autopoint documentation update?

2019-08-24 Thread Assaf Gordon
Hello, The gnulib manual says: "2. After running gettextize, invoke gnulib-tool and import the gettext module. " https://www.gnu.org/software/gnulib/manual/html_node/gettextize-and-autopoint.html (from 'doc/gnulib-tool.texi' at '@node gettextize and autopoint'). But running: ./gnulib-t

iconv_open: non-gnu make fails to generate "iconv_open-aix.h"

2019-08-23 Thread Assaf Gordon
Hello, While investigating some other issue, I noticed that non-gnu make fails to create 'iconv_open-aix.h' from 'iconv_open-aix.gperf'. Perhaps this is a non-issue, and only gnu-make is supported for this bootstrapping stage (and non-gnu makes are only supported after "make dist"). Still, worth

Possible GETTEXT version mismatch?

2019-08-23 Thread Assaf Gordon
Hello, Just checking, but could it be that there's some mismatch in gnulib about gettext? $ git grep GETTEXT_MACRO_VERSION build-aux/po/Makefile.in.in:GETTEXT_MACRO_VERSION = 0.19 [...] m4/po.m4: AC_SUBST([GETTEXT_MACRO_VERSION], [0.20]) While trying to upgrade gnulib in GNU datamash,

bug#37093: wc runs 100% cpu when in pipeline or tee >(wc)

2019-08-19 Thread Assaf Gordon
tag 37093 notabug close 37093 stop Hello, On 2019-08-19 10:44 p.m., Edward Huff wrote: In the demo below, dd uses 0.665s to write 1GiB of zeros. sha256sum uses 4.285s to calculate the sha256 of 1GiB of zeros. wc uses 32.160s to count 1GiB of zeros. [...] baseline results: $ dd if=/dev/zero

bug#37058: Error message with local deployment of Galaxy-k8s

2019-08-16 Thread Assaf Gordon
tag 37058 notabug close 37058 stop Hello, Two issues are mixed here. First: On 2019-08-16 2:17 p.m., Gao, Jianliang wrote: I followed https://github.com/phnmnl/phenomenal-h2020/wiki/QuickStart-Installation-for-Local-PhenoMeNal-Workflow with Older Galaxy chart to deploy local galaxy-k8s instanc

Re: building old coreutils versions on new glibc systems

2019-08-15 Thread Assaf Gordon
On 2019-08-13 11:45 p.m., Bernhard Voelker wrote: On 8/13/19 8:10 PM, Bernhard Voelker wrote: I'd only like to see following additional changes: - make the script callable from an arbitrary directory, i.e., make the file name of the patches relative to the script, and - mention to adjust MA

Re: [Implemented] [coreutils] Partial UTF-8 support for "cut -c"

2019-08-12 Thread Assaf Gordon
Hello, On Mon, Aug 12, 2019 at 09:19:54PM +0200, jaime.mosqu...@tutanota.com wrote: > I have partially implemented the option "-c" ("--characters") for UTF-8 > non-ASCII characters[...] First and foremost, Thank you for taking the time and effort to develop new features and send them to the maili

Re: for the next gnulib update

2019-08-12 Thread Assaf Gordon
On Mon, Aug 12, 2019 at 05:55:55PM +0200, Bernhard Voelker wrote: > On 8/12/19 5:50 AM, Assaf Gordon wrote: > > Updated patch (fixed typo in commit message). > > +1 thanks thanks, pushed here: https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=a3d070fa3269e89dfad49fde8ea30758afa36f4b

Re: for the next gnulib update

2019-08-11 Thread Assaf Gordon
On Sun, Aug 11, 2019 at 09:33:47PM -0600, Assaf Gordon wrote: > Hello, > > On Sun, Aug 11, 2019 at 10:42:49AM +0200, Bruno Haible wrote: > > A couple of changes in gnulib on 2019-07-15 [1] need updates on the > > coreutils > > side, the next you update the gnulib use

Re: for the next gnulib update

2019-08-11 Thread Assaf Gordon
Hello, On Sun, Aug 11, 2019 at 10:42:49AM +0200, Bruno Haible wrote: > A couple of changes in gnulib on 2019-07-15 [1] need updates on the coreutils > side, the next you update the gnulib used by coreutils. Thanks for the heads-up. Patch attached - I'll apply it tomorrow if there are no further

Re: parse-datetime.y - Military Timezones are inverted from the correct sense

2019-08-11 Thread Assaf Gordon
On 2019-08-10 9:17 p.m., Assaf Gordon wrote: On Sat, Aug 10, 2019 at 01:05:23PM -0700, Paul Eggert wrote: The attached patch-set includes this fix, and the updated NEWS wording. (I'll wait until gnulib is updated with the additional fix, then create a new coreutil patch with the latest g

Re: building old coreutils versions on new glibc systems

2019-08-10 Thread Assaf Gordon
Hello, On Sat, Aug 10, 2019 at 03:19:57PM +0200, Bernhard Voelker wrote: > On 8/7/19 6:04 PM, Jim Meyering wrote: > > Since it is something that may contribute to binaries I build (with > > the handy related build target), it feels like it belongs in > > version-control > okay, fine. Both varian

Re: parse-datetime.y - Military Timezones are inverted from the correct sense

2019-08-10 Thread Assaf Gordon
) > > Thanks here too; it all sounds good. Attached latest version (with updated gnulib, and Bernhard's syntax-check fix). I'll push tomorrow unless other issues pop up. -assaf >From 961d668eea9c94beddd309d81f65c32a133a3260 Mon Sep 17 00:00:00 2001 From: Assaf Gordon Date: Fr

Re: parse-datetime.y - Military Timezones are inverted from the correct sense

2019-08-10 Thread Assaf Gordon
Hello, (adding bug-gnulib again :) ) Thank you both for the review and suggestions. On 2019-08-10 1:46 a.m., Paul Eggert wrote: > Assaf Gordon wrote: >> I suggest the attached patch for coreutils. > > OK, except I'd remove "in accordance with rfc5322" since RFC

Re: parse-datetime.y - Military Timezones are inverted from the correct sense

2019-08-09 Thread Assaf Gordon
gnu date, I suggest the attached patch for coreutils. -assaf >From 19f7eab06af234641a2927514c03570c07a311db Mon Sep 17 00:00:00 2001 From: Assaf Gordon Date: Fri, 9 Aug 2019 19:51:42 -0600 Subject: [PATCH 1/2] gnulib: update to latest --- gnulib | 2 +- 1 file changed, 1 insertion(+), 1 delet

Re: parse-datetime.y - Military Timezones are inverted from the correct sense

2019-08-09 Thread Assaf Gordon
gnu date, I suggest the attached patch for coreutils. -assaf >From 19f7eab06af234641a2927514c03570c07a311db Mon Sep 17 00:00:00 2001 From: Assaf Gordon Date: Fri, 9 Aug 2019 19:51:42 -0600 Subject: [PATCH 1/2] gnulib: update to latest --- gnulib | 2 +- 1 file changed, 1 insertion(+), 1 delet

bug#36985: tail

2019-08-09 Thread Assaf Gordon
close 36985 stop Hello, On 2019-08-09 12:55 a.m., Rob Hearne wrote: root@kafka-robh-vmdub-04:/kafka/bin# tail -f Control tail: unrecognized file system type 0x794c7630 for ‘Control’. please report this to bug-coreutils@gnu.org. reverting to polling This has been fixed in version 8.25 (releas

Re: parse-datetime.y - Military Timezones are inverted from the correct sense

2019-08-09 Thread Assaf Gordon
Hello, On 2019-08-09 5:31 a.m., Neil Hoggarth wrote: I have observed incorrect handling of "Military" timezones when exercising the --date=... option of the GNU coreutils "date" utility. I believe the underlying problem is with initialization of "military_table[]" in the parse-datetime.y file of

Re: building old coreutils versions on new glibc systems

2019-08-06 Thread Assaf Gordon
Hello, On Tue, Aug 06, 2019 at 09:35:01PM +0200, Bernhard Voelker wrote: > On 8/2/19 9:05 AM, Jim Meyering wrote: > > Nice work. I've had to go through this process a few times over the > > years, and having these handy patch files checked in and maintained > > would make it easier to automate the

bug#36901: Enhance directory and file moves where target already exists

2019-08-02 Thread Assaf Gordon
et_file mv [-if] source_file... target_dir DESCRIPTION [...] In the second synopsis form, mv shall move each file named by a source_file operand to a destination file in the existing directory named by the target_dir operand [...] This second form is assumed whe

bug#36901: Enhance directory and file moves where target already exists

2019-08-02 Thread Assaf Gordon
Walsh wrote: > > On 2019/08/02 19:47, Assaf Gordon wrote: >> Can new merging features be added to 'mv'? yes. >> But it seems to me these would be better suited for 'higher level' >> programs (e.g. a GUI file manager). > --- > But neither the

bug#36831: Enhance directory move. (was Re: bug#36831: enhance 'directory not empty' message)

2019-08-02 Thread Assaf Gordon
Hello, On 2019-08-02 9:56 p.m., L A Walsh wrote: On 2019/08/02 19:47, Assaf Gordon wrote: Can new merging features be added to 'mv'? yes. But it seems to me these would be better suited for 'higher level' programs (e.g. a GUI file manager). --- But neither the p

bug#36831: Enhance directory move. (was Re: bug#36831: enhance 'directory not empty' message)

2019-08-02 Thread Assaf Gordon
Hello, On Fri, Aug 02, 2019 at 02:41:31AM -0700, L A Walsh wrote: > On 2019/07/28 23:28, Assaf Gordon wrote: > > > > > > $ mkdir A B B/A > > $ touch A/bar B/A/foo > > $ mv A B > > mv: cannot move 'A' to 'B/A': Director

Re: building old coreutils versions on new glibc systemsy

2019-08-02 Thread Assaf Gordon
Hello, On Fri, Aug 02, 2019 at 12:05:53AM -0700, Jim Meyering wrote: > On Thu, Aug 1, 2019 at 7:48 PM Assaf Gordon wrote: > > The attached patches enable building old tarballs on modern systems > > (tested on Debian 10 with GLIBC 2.28-10, gcc 8.3.0-6). > > > > Nice w

Re: seq: fix bug of printing extra line

2019-08-02 Thread Assaf Gordon
On Fri, Aug 02, 2019 at 01:08:49PM +0100, Pádraig Brady wrote: > On 02/08/19 03:28, Assaf Gordon wrote: > > > > Prompted by the recent 'seq' thread, I spotted a bug in seq. > > Fix attached. > > Nice one. thanks! > Thanks, pushed here: https://git.savann

  1   2   3   4   5   6   7   8   9   10   >