RE: [HEADS-UP] BSD sort coming to -CURRENT

From: Michael Scholz <mike_at_fth-devel.net>
Date: Wed, 9 May 2012 02:12:15 +0200 (CEST)
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_at_freebsd.org [mailto:owner-freebsd-current_at_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_at_freebsd.org [mailto:owner-freebsd-current_at_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_at_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_at_ -> /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
> _at_(#) International Ispell Version 3.3.02 12 Jun 2005
> . ./config.sh;  set +vx;  sed  -e "s_at_!!BAKEXT!!_at_$BAKEXT_at_g"  -e "s_at_!!COUNTSUFFIX!!_at_$COUNTSUFFIX_at_g"  -e "s_at_!!DEFHASH!!_at_$DEFHASH_at_" -e "s_at_!!DEFLANG!!_at_$DEFLANG_at_"  -e "s_at_!!HASHSUFFIX!!_at_$HASHSUFFIX_at_g"  -e "s_at_!!LIBDIR!!_at_$LIBDIR_at_" -e "s_at_!!DEFDICT!!_at_$DEFDICT_at_"  -e "s_at_!!LOOK_XREF!!_at_$LOOK_XREF_at_g"  -e "s_at_!!MAN45SECT!!_at_$MAN45SECT_at_g"  -e "s_at_!!POUNDBANG!!_at_$POUNDBANG_at_g"  -e "s_at_!!SPELL_XREF!!_at_$SPELL_XREF_at_g"  -e "s_at_!!STATSUFFIX!!_at_$STATSUFFIX_at_g"  -e "s_at_!!TIB_XREF!!_at_$TIB_XREF_at_g"  -e "s_at_!!WORDS!!_at_$WORDS_at_g"  $SORTTMP < ispell.1X > ispell.1
> . ./config.sh;  set +vx;  sed  -e "s_at_!!BAKEXT!!_at_$BAKEXT_at_g"  -e "s_at_!!COUNTSUFFIX!!_at_$COUNTSUFFIX_at_g"  -e "s_at_!!DEFHASH!!_at_$DEFHASH_at_" -e "s_at_!!DEFLANG!!_at_$DEFLANG_at_"  -e "s_at_!!HASHSUFFIX!!_at_$HASHSUFFIX_at_g"  -e "s_at_!!LIBDIR!!_at_$LIBDIR_at_" -e "s_at_!!DEFDICT!!_at_$DEFDICT_at_"  -e "s_at_!!LOOK_XREF!!_at_$LOOK_XREF_at_g"  -e "s_at_!!MAN45SECT!!_at_$MAN45SECT_at_g"  -e "s_at_!!POUNDBANG!!_at_$POUNDBANG_at_g"  -e "s_at_!!SPELL_XREF!!_at_$SPELL_XREF_at_g"  -e "s_at_!!STATSUFFIX!!_at_$STATSUFFIX_at_g"  -e "s_at_!!TIB_XREF!!_at_$TIB_XREF_at_g"  -e "s_at_!!WORDS!!_at_$WORDS_at_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
Received on Tue May 08 2012 - 22:12:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:26 UTC