Bash Snippets

From Jay's Cafe' Wiki
Revision as of 16:54, 11 August 2020 by Jayctheriot (talk | contribs) (Created page with "Filtering the fields out of the user-add.php page of the BRMG project. <pre> grep fld_ sandbox/git/BRMR0708/BRMR/user-add.php | awk -F "fld_" '{print "fld_"$2}' brmr_flds.dat...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Filtering the fields out of the user-add.php page of the BRMG project.

grep fld_ sandbox/git/BRMR0708/BRMR/user-add.php | awk -F "fld_" '{print "fld_"$2}' brmr_flds.dat | awk -F "\"| |'|;|,|=|)" '{print $1}' | sort | uniq > brmg_flds.list