Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 15883 Details for
Bug 23116
coreutils 5: 'head -1', 'tail -1' give errors, need '-n 1' now; breaks lots of Makefiles
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
fixheadtails
tmp.txt (text/plain), 322 bytes, created by
John Mylchreest (RETIRED)
on 2003-08-11 02:03:28 UTC
(
hide
)
Description:
fixheadtails
Filename:
MIME Type:
Creator:
John Mylchreest (RETIRED)
Created:
2003-08-11 02:03:28 UTC
Size:
322 bytes
patch
obsolete
>for MATCHES in $(grep -i -R -e "head -[ 0-9]" -e "tail [+-][ 0-9]" * | cut -f1 -d: | sort -u) ; do > mv ${MATCHES} ${MATCHES}.orig > sed -e 's/head -\(.*\)/head -n \1/' \ > -e 's/tail \([-+]\)\(.*\)/tail -n \1\2/'\ > < ${MATCHES}.orig \ > > ${MATCHES} > rm ${MATCHES}.orig >done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 23116
:
15882
| 15883 |
15886