Issue 17300 - head -1 is no longer supported by coreutils-5.0
Summary: head -1 is no longer supported by coreutils-5.0
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: Martin Hollmichel
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-23 12:00 UTC by pmladek
Modified: 2004-02-07 10:09 UTC (History)
1 user (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
A patch to fix obsolete usage of "head -1" against sources from the cvs tag cws_srx645_ooo11rc2 (1.16 KB, patch)
2003-07-23 12:03 UTC, pmladek
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description pmladek 2003-07-23 12:00:58 UTC
The utilities head and tail from coreutils-5.0 do not
longer support short options -1, -2, ...

It is requested to use the option -n NUMBER now.

head -1     ->     head -n 1
tail -1     ->     tail -n 1

I found two occurences of "head -1" in the OOo sources.
I will attach the patch to fix it.
Comment 1 pmladek 2003-07-23 12:03:52 UTC
Created attachment 7971 [details]
A patch to fix obsolete usage of "head -1" against sources from the cvs tag cws_srx645_ooo11rc2
Comment 2 jens-heiner.rechtien 2003-07-23 14:24:20 UTC
Fixed on ooo11rc3. Thanks for pointing this out.
Comment 3 foskey 2003-07-25 01:49:41 UTC
configure regnerated with patch included.
Comment 4 Martin Hollmichel 2004-02-07 10:09:10 UTC
close issue.