[db_set] In the event of "all" conditional, will output full DB_FILE for match count
This commit is contained in:
parent
0c670b69db
commit
71753962bd
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ db_set() {
|
||||||
|
|
||||||
if [[ "${CONDITION}" == "all" ]]; then
|
if [[ "${CONDITION}" == "all" ]]; then
|
||||||
gawk -i inplace -v selected=${SELECTED} 'BEGIN{FS="\t";OFS="\t";}{$1=selected}{print $0}' "${DB_FILE}"
|
gawk -i inplace -v selected=${SELECTED} 'BEGIN{FS="\t";OFS="\t";}{$1=selected}{print $0}' "${DB_FILE}"
|
||||||
|
cat "${DB_FILE}"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue