Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 253955 Details for
Bug 344655
eselect news module: Sort news items by their (reverse?) date
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for news.eselect
news.eselect.diff (text/plain), 842 bytes, created by
Ulrich Müller
on 2010-11-11 07:04:28 UTC
(
hide
)
Description:
patch for news.eselect
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2010-11-11 07:04:28 UTC
Size:
842 bytes
patch
obsolete
>--- news.eselect (revision 769) >+++ news.eselect (working copy) >@@ -15,7 +15,7 @@ > # read list of news items > # list of parameters may contain "unread" or "read" > # returns one item per line: status/repository/name >-# sort order: 1. "unread" before "read", 2. by repository >+# sort order: by item name > find_items() { > local stat repos=$(get_repositories) repo item > for stat in "$@"; do >@@ -26,7 +26,7 @@ > echo "${stat}/${repo}/${item}" > done > done >- done >+ done | sort -t / -k 3 > } > > # write list of items to file >@@ -256,7 +256,7 @@ > # expand special values "new" and "all" > if [[ $# -eq 0 || $1 = new || $1 = all ]]; then > for (( i = 1; i <= n; i++ )); do >- [[ $1 = all || ${items[i-1]%%/*} = unread ]] || break >+ [[ $1 = all || ${items[i-1]%%/*} = unread ]] || continue > seq="${seq} ${i}" > done > set -- ${seq}
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 344655
:
253929
| 253955