Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 May 2012 02:12:15 +0200 (CEST)
From:      Michael Scholz <mike@fth-devel.net>
To:        Oleg Moskalenko <oleg.moskalenko@citrix.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, Gabor Kovesdan <gabor@freebsd.org>
Subject:   RE: [HEADS-UP] BSD sort coming to -CURRENT
Message-ID:  <alpine.BSF.2.00.1205090209520.12140@pumpkin.fth-devel.net>
In-Reply-To: <031222CBCF33214AB2EB4ABA279428A3011A2C2D1ACB@SJCPMAILBOX01.citrite.net>
References:  <4FA940F3.6080907@FreeBSD.org> <alpine.BSF.2.00.1205090006320.71612@pumpkin.fth-devel.net> <031222CBCF33214AB2EB4ABA279428A3011A2C2D1AC9@SJCPMAILBOX01.citrite.net> <031222CBCF33214AB2EB4ABA279428A3011A2C2D1ACB@SJCPMAILBOX01.citrite.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 8 May 2012, Oleg Moskalenko wrote:

> Michael,
>
> The situation is actually more complex than I described in my email, but 
> the good news is that we already have a fix that supports all older 
> syntax forms. I tested it with ispell ports and it builds just fine. We 
> will update the bsdsort port soon.
>
> Thanks !
> Oleg

Thank you very much!
Mike

>
>
> -----Original Message-----
> From: owner-freebsd-current@freebsd.org [mailto:owner-freebsd-current@freebsd.org] On Behalf Of Oleg Moskalenko
> Sent: Tuesday, May 08, 2012 3:13 PM
> To: 'Michael Scholz'; Gabor Kovesdan
> Cc: FreeBSD Current
> Subject: RE: [HEADS-UP] BSD sort coming to -CURRENT
>
> Thank you, Michael. We will check this.
>
> Oleg
>
> -----Original Message-----
> From: owner-freebsd-current@freebsd.org [mailto:owner-freebsd-current@freebsd.org] On Behalf Of Michael Scholz
> Sent: Tuesday, May 08, 2012 3:08 PM
> To: Gabor Kovesdan
> Cc: FreeBSD Current; Oleg Moskalenko
> Subject: Re: [HEADS-UP] BSD sort coming to -CURRENT
>
> Gabor Kovesdan wrote:
>> Oleg Moskalenko has been working very hard on BSD sort and by now we
>> think it is compatible with the base version (and has even more
>> features, the ideas mostly taken from the latest GNU sort) and it is
>> efficient. I just updated the textproc/bsdsort port to the latest
>> version so that people can test it and I plan to commit it to HEAD in
>> some days, for now installed as "bsdsort", leaving GNU sort the default
>> version. If someone has any objection, please raise it now. Future plans
>> are to switch the logic and make BSD sort default once it has undergone
>> enough testing and finally drop GNU sort permanently if no problems appear.
>
> BSD sort doesn't work with ports/textproc/ispell, it stops with
>   sort: invalid option -- 1
>
> % uname -a
> FreeBSD pumpkin.fth-devel.net 9.0-STABLE FreeBSD 9.0-STABLE #0: Fri May  4 15:34:58 CEST 2012     root@pumpkin.fth-devel.net:/usr/obj/usr/src/sys/PUMPKIN  i386
>
> % ls -lF /usr/bin/*sort*
> lrwxr-xr-x  1 root  wheel     13 May  8 22:15 /usr/bin/bsdsort@ -> /usr/bin/sort
> -r-xr-xr-x  1 root  wheel  65416 May  8 22:15 /usr/bin/gnusort*
> -r-xr-xr-x  1 root  wheel  49280 May  8 22:15 /usr/bin/sort*
> -r-xr-xr-x  1 root  wheel   7276 May  4 15:46 /usr/bin/tsort*
>
> # cd /usr/ports/textproc/ispell && make
>
> [...]
> ./ispell -v | sed -e 1q
> @(#) International Ispell Version 3.3.02 12 Jun 2005
> . ./config.sh;  set +vx;  sed  -e "s@!!BAKEXT!!@$BAKEXT@g"  -e "s@!!COUNTSUFFIX!!@$COUNTSUFFIX@g"  -e "s@!!DEFHASH!!@$DEFHASH@" -e "s@!!DEFLANG!!@$DEFLANG@"  -e "s@!!HASHSUFFIX!!@$HASHSUFFIX@g"  -e "s@!!LIBDIR!!@$LIBDIR@" -e "s@!!DEFDICT!!@$DEFDICT@"  -e "s@!!LOOK_XREF!!@$LOOK_XREF@g"  -e "s@!!MAN45SECT!!@$MAN45SECT@g"  -e "s@!!POUNDBANG!!@$POUNDBANG@g"  -e "s@!!SPELL_XREF!!@$SPELL_XREF@g"  -e "s@!!STATSUFFIX!!@$STATSUFFIX@g"  -e "s@!!TIB_XREF!!@$TIB_XREF@g"  -e "s@!!WORDS!!@$WORDS@g"  $SORTTMP < ispell.1X > ispell.1
> . ./config.sh;  set +vx;  sed  -e "s@!!BAKEXT!!@$BAKEXT@g"  -e "s@!!COUNTSUFFIX!!@$COUNTSUFFIX@g"  -e "s@!!DEFHASH!!@$DEFHASH@" -e "s@!!DEFLANG!!@$DEFLANG@"  -e "s@!!HASHSUFFIX!!@$HASHSUFFIX@g"  -e "s@!!LIBDIR!!@$LIBDIR@" -e "s@!!DEFDICT!!@$DEFDICT@"  -e "s@!!LOOK_XREF!!@$LOOK_XREF@g"  -e "s@!!MAN45SECT!!@$MAN45SECT@g"  -e "s@!!POUNDBANG!!@$POUNDBANG@g"  -e "s@!!SPELL_XREF!!@$SPELL_XREF@g"  -e "s@!!STATSUFFIX!!@$STATSUFFIX@g"  -e "s@!!TIB_XREF!!@$TIB_XREF@g"  -e "s@!!WORDS!!@$WORDS@g"  $SORTTMP < ispell.5X > ispell.5
> make LANGUAGE_TARGET=all SHELLDEBUG=+vx language-subdirs
> + cd languages/american
> + eval make BUILD=build DBUILD=build CBUILD=build SHELLDEBUG=+vx ' '\''MASTERDICTS=american.med+'\'' '\''HASHFILES=americanmed+.hash'\'' '\''EXTRADICT=/usr/share/dict/words'\' all
> + make BUILD=build DBUILD=build CBUILD=build SHELLDEBUG=+vx MASTERDICTS=american.med+ HASHFILES=americanmed+.hash EXTRADICT=/usr/share/dict/words all
> rm -f english.[0-3] american.[0-2] altamer.[012] british.[012]
> make -f ../english/Makefile 'DBUILD=' VARIANTS=american  'EXTRADICT=/usr/share/dict/words' 'SHELLDEBUG=+vx'  'AFFIXES=../english/english.aff'  english.med+
> + PATH=../..:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
> + export PATH
> + ../../munchlist -v -l ../english/english.aff /usr/share/dict/words english.0 english.1 american.0 american.1
> Collecting input.
> sort: invalid option -- 1
> Usage: sort [-bcCdfigMmnrsuz] [-kPOS1[,POS2] ... ] [+POS1 [-POS2]] [-S memsize] [-T tmpdir] [-t separator] [-o outfile] [--batch-size size] [--files0-from file] [--heapsort] [--mergesort] [--radixsort] [--qsort] [--nthreads thread_no] [--human-numeric-sort] [--version-sort] [--random-sort [--random-source file]] [--compress-program program] [file ...]
> [...]
>
> Mike



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1205090209520.12140>