https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18564

--- Comment #2 from Eric Vantillard <[email protected]> ---
maybe something like that

awk '
BEGIN {
        FS="="
}
$1 ~/\[/ {
        inclient=0
}
$1 ~/\[client\]/ {
        inclient=1
        next
}
inclient==1 && $1 ~/host/ {
        print $2
}
' /etc/mysql/koha-common.cnf

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to