Minor formatting and comments changes
This commit is contained in:
5
todo.sh
5
todo.sh
@@ -373,9 +373,8 @@ _list() {
|
|||||||
LINES=$( wc -l "$src" | sed 's/ .*//' )
|
LINES=$( wc -l "$src" | sed 's/ .*//' )
|
||||||
PADDING=${#LINES}
|
PADDING=${#LINES}
|
||||||
|
|
||||||
## Search pattern or patterns specified; parse the file and then
|
## Number, sort, and mangle the file, then run the filter command,
|
||||||
## grep for each pattern afterwords.
|
## then mangle the file some more
|
||||||
|
|
||||||
command=$(
|
command=$(
|
||||||
sed = "$src" \
|
sed = "$src" \
|
||||||
| sed "N; s/^/ /; s/ *\(.\{$PADDING,\}\)\n/\1 /" \
|
| sed "N; s/^/ /; s/ *\(.\{$PADDING,\}\)\n/\1 /" \
|
||||||
|
|||||||
Reference in New Issue
Block a user