libsmbconf: search from the back when getting parameter from text backend
[Samba.git] / source / script / extract_allparms.sh
blobf16068b3fdc8ff22004f581651c4f3cd9f711a79
1 #!/bin/sh
2 grep '{".*P_[GL]' param/loadparm.c | sed -e 's/&.*$//g' -e 's/",.*P_LOCAL.*$/ S/' -e 's/",.*P_GLOBAL.*$/ G/' -e 's/^ .*{"//g' | sort -f