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

next in thread | previous in thread | raw e-mail | index | archive | help
Thank you, Michael. We will check this.

Oleg

-----Original Message-----
From: owner-freebsd-current@freebsd.org [mailto:owner-freebsd-current@freeb=
sd.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=20
> think it is compatible with the base version (and has even more=20
> features, the ideas mostly taken from the latest GNU sort) and it is=20
> efficient. I just updated the textproc/bsdsort port to the latest=20
> version so that people can test it and I plan to commit it to HEAD in=20
> some days, for now installed as "bsdsort", leaving GNU sort the default=20
> version. If someone has any objection, please raise it now. Future plans=
=20
> are to switch the logic and make BSD sort default once it has undergone=20
> enough testing and finally drop GNU sort permanently if no problems appea=
r.

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/PUMP=
KIN  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@!!COUNTSU=
FFIX!!@$COUNTSUFFIX@g"  -e "s@!!DEFHASH!!@$DEFHASH@" -e "s@!!DEFLANG!!@$DEF=
LANG@"  -e "s@!!HASHSUFFIX!!@$HASHSUFFIX@g"  -e "s@!!LIBDIR!!@$LIBDIR@" -e =
"s@!!DEFDICT!!@$DEFDICT@"  -e "s@!!LOOK_XREF!!@$LOOK_XREF@g"  -e "s@!!MAN45=
SECT!!@$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@!!COUNTSU=
FFIX!!@$COUNTSUFFIX@g"  -e "s@!!DEFHASH!!@$DEFHASH@" -e "s@!!DEFLANG!!@$DEF=
LANG@"  -e "s@!!HASHSUFFIX!!@$HASHSUFFIX@g"  -e "s@!!LIBDIR!!@$LIBDIR@" -e =
"s@!!DEFDICT!!@$DEFDICT@"  -e "s@!!LOOK_XREF!!@$LOOK_XREF@g"  -e "s@!!MAN45=
SECT!!@$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=3Dall SHELLDEBUG=3D+vx language-subdirs
+ cd languages/american
+ eval make BUILD=3Dbuild DBUILD=3Dbuild CBUILD=3Dbuild SHELLDEBUG=3D+vx ' =
'\''MASTERDICTS=3Damerican.med+'\'' '\''HASHFILES=3Damericanmed+.hash'\'' '=
\''EXTRADICT=3D/usr/share/dict/words'\' all
+ make BUILD=3Dbuild DBUILD=3Dbuild CBUILD=3Dbuild SHELLDEBUG=3D+vx MASTERD=
ICTS=3Damerican.med+ HASHFILES=3Damericanmed+.hash EXTRADICT=3D/usr/share/d=
ict/words all
rm -f english.[0-3] american.[0-2] altamer.[012] british.[012]
make -f ../english/Makefile 'DBUILD=3D' VARIANTS=3Damerican  'EXTRADICT=3D/=
usr/share/dict/words' 'SHELLDEBUG=3D+vx'  'AFFIXES=3D../english/english.aff=
'  english.med+
+ PATH=3D../..:/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 englis=
h.0 english.1 american.0 american.1
Collecting input.
sort: invalid option -- 1
Usage: sort [-bcCdfigMmnrsuz] [-kPOS1[,POS2] ... ] [+POS1 [-POS2]] [-S mems=
ize] [-T tmpdir] [-t separator] [-o outfile] [--batch-size size] [--files0-=
from file] [--heapsort] [--mergesort] [--radixsort] [--qsort] [--nthreads t=
hread_no] [--human-numeric-sort] [--version-sort] [--random-sort [--random-=
source file]] [--compress-program program] [file ...]
[...]

Mike
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"



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