Compare commits
1 Commits
archive/de
...
archive/li
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f3fc18af6b |
6
todo.sh
6
todo.sh
@@ -785,12 +785,12 @@ _list() {
|
|||||||
fi
|
fi
|
||||||
items=$(
|
items=$(
|
||||||
sed = "$src" \
|
sed = "$src" \
|
||||||
| sed '''
|
| sed -e '''
|
||||||
N
|
N
|
||||||
s/^/ /
|
s/^/ /
|
||||||
s/ *\([ 0-9]\{'"$PADDING"',\}\)\n/\1 /
|
s/ *\([ 0-9]\{'"$PADDING"',\}\)\n/\1 /
|
||||||
''' \
|
/^[ 0-9]\{1,\} *$/d
|
||||||
| grep -v "^[ 0-9]\+ *$"
|
'''
|
||||||
)
|
)
|
||||||
if [ "${filter_command}" ]; then
|
if [ "${filter_command}" ]; then
|
||||||
filtered_items=$(echo -n "$items" | eval "${filter_command}")
|
filtered_items=$(echo -n "$items" | eval "${filter_command}")
|
||||||
|
|||||||
Reference in New Issue
Block a user