Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35744 - ispell contains obsolete use of tail -1 and sort -1
Summary: ispell contains obsolete use of tail -1 and sort -1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-13 11:30 UTC by Jacob Joseph
Modified: 2003-12-13 19:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Updates tail and sort syntax (ispell-tailsort.patch,6.95 KB, patch)
2003-12-13 16:15 UTC, Jacob Joseph
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Joseph 2003-12-13 11:30:03 UTC
Emerge of ispell fails with "tail (coreutils) 5.0.91":

tail: `-1' option is obsolete; use `-n 1'

Needless to say, the emerge does not complete.

Reproducible: Always
Steps to Reproduce:
Comment 1 Jacob Joseph 2003-12-13 12:23:42 UTC
One more thing.  ispell also uses obsolete sort syntax:
for example:
++ sort -u -t/ +0f -1 +0 -T /var/tmp/portage/ispell-3.2.06-r6/temp -o english.xlg english.0 english.1 english.2 english.3 american.0 american.1 american.2
sort: invalid option -- 1

from the man page:
[+pos1 [-pos2]]
 (obsolete). Provide functionality equivalent to the -kkeydef option. 

-Jacob
Comment 2 Jacob Joseph 2003-12-13 16:15:35 UTC
Created attachment 22157 [details, diff]
Updates tail and sort syntax

This patch corrects everything I've found and allows compilation.  I applied it
between an ebuild unpack and an ebuild merge.
Comment 3 Brad House 2003-12-13 19:28:26 UTC
done, thanks!