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/ .*//' )
|
||||
PADDING=${#LINES}
|
||||
|
||||
## Search pattern or patterns specified; parse the file and then
|
||||
## grep for each pattern afterwords.
|
||||
|
||||
## Number, sort, and mangle the file, then run the filter command,
|
||||
## then mangle the file some more
|
||||
command=$(
|
||||
sed = "$src" \
|
||||
| sed "N; s/^/ /; s/ *\(.\{$PADDING,\}\)\n/\1 /" \
|
||||
|
||||
Reference in New Issue
Block a user