Fix spacing (tabs to spaces)

This commit is contained in:
Ed Blackman
2009-03-14 01:17:46 -04:00
parent ab78607506
commit 12bbf8fe67

30
todo.sh
View File

@@ -368,21 +368,21 @@ _list() {
for search_term in "$@" for search_term in "$@"
do do
## See if the first character of $search_term is a dash ## See if the first character of $search_term is a dash
if [ ${search_term:0:1} != '-' ] if [ ${search_term:0:1} != '-' ]
then then
## First character isn't a dash: hide lines that don't match ## First character isn't a dash: hide lines that don't match
## this $search_term ## this $search_term
filter_command="${filter_command:-} ${filter_command:+|} \ filter_command="${filter_command:-} ${filter_command:+|} \
grep -i \"$search_term\" " grep -i \"$search_term\" "
else else
## First character is a dash: hide lines that match this ## First character is a dash: hide lines that match this
## $search_term ## $search_term
# #
## Remove the first character (-) before adding to our filter command ## Remove the first character (-) before adding to our filter command
filter_command="${filter_command:-} ${filter_command:+|} \ filter_command="${filter_command:-} ${filter_command:+|} \
grep -v -i \"${search_term:1}\" " grep -v -i \"${search_term:1}\" "
fi fi
done done
## If post_filter_command is set, append it to the filter_command ## If post_filter_command is set, append it to the filter_command