FAQ

Page Discussion History

SourceTricks

Revision as of 19:32, 22 September 2010 by MichaelLustfield (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

... More to come, but needed some place to put PiotrSikora's handy little commands (and will expand on them later):

PiotrSikora

All Directives in Server context

find src/ -type f -name "*.c" -exec grep -B1 NGX_HTTP_SRV_CONF {} \; | grep ngx_string | cut -d\" -f2

All Variables in HTTP context

find src/ -type f -name "*.c" -exec grep -B2 NGX_HTTP_VAR {} \; | grep ngx_string | cut -d\" -f2