File: extract_allparms.sh

package info (click to toggle)
samba 2.2.3a-15
  • links: PTS
  • area: main
  • in suites: woody
  • size: 24,336 kB
  • ctags: 19,246
  • sloc: ansic: 179,555; sh: 6,888; perl: 2,091; makefile: 1,491; awk: 1,143; exp: 1,143; csh: 161
file content (2 lines) | stat: -rwxr-xr-x 148 bytes parent folder | download | duplicates (30)
1
2
#!/bin/sh
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