shellcheck fix after applying "more contacts" patch
This commit is contained in:
parent
a537bea76a
commit
178c746d85
1 changed files with 3 additions and 3 deletions
|
@ -29,9 +29,9 @@ contacts() {
|
||||||
}
|
}
|
||||||
|
|
||||||
all_contacts() {
|
all_contacts() {
|
||||||
cat "$CONTACTSFILE" | awk -F'\t' '{
|
awk -F'\t' '{
|
||||||
if (substr($0,1,1) == "+") print $1 ": " $2
|
if (substr($0,1,1) == "+") print $1 ": " $2
|
||||||
}' | sort -f -k 2
|
}' "$CONTACTSFILE" | sort -f -k 2
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ "$1" = "--all" ]; then
|
if [ "$1" = "--all" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue