comments can be quoted

This commit is contained in:
Luke Smith
2018-12-16 22:31:25 -05:00
parent 3eff93e2a9
commit 8f21ec51f2
2 changed files with 64 additions and 63 deletions

View File

@@ -98,6 +98,7 @@ installationloop() { \
aurinstalled=$(pacman -Qm | awk '{print $1}')
while IFS=, read -r tag program comment; do
n=$((n+1))
echo "$comment" | grep "^\".*\"$" >/dev/null && comment="$(echo "$comment" | sed "s/\(^\"\|\"$\)//g")"
case "$tag" in
"") maininstall "$program" "$comment" ;;
"A") aurinstall "$program" "$comment" ;;