Skip to content

Instantly share code, notes, and snippets.

@sharifulin
Created February 10, 2010 13:14
Show Gist options
  • Save sharifulin/300295 to your computer and use it in GitHub Desktop.
Save sharifulin/300295 to your computer and use it in GitHub Desktop.
Find Mojo ENV in mojo distributive
# find all env
find ~/mojo/lib/ -type f -print0 | xargs -0 grep -on -E --colour 'MOJO_[A-Z_]+'
# find uniq env
find ~/mojo/lib/ -type f -print0 | xargs -0 grep -oh -E --colour 'MOJO_[A-Z_]+' | sort -u
__END__
Total: 23
MOJO_APP
MOJO_BASE_DEBUG
MOJO_CA_FILE
MOJO_CHUNK_SIZE
MOJO_COMMANDS_DONE
MOJO_EPOLL
MOJO_EXCEPTION_VERBOSE
MOJO_HOME
MOJO_KQUEUE
MOJO_LOADER_DEBUG
MOJO_LOG_LEVEL
MOJO_MAX_LINE_SIZE
MOJO_MAX_MEMORY_SIZE
MOJO_MAX_MESSAGE_SIZE
MOJO_MODE
MOJO_NO_IPV
MOJO_NO_TLS
MOJO_POLL
MOJO_RELOAD
MOJO_REVERSE_PROXY
MOJO_SERVER_DEBUG
MOJO_TEMPLATE_CLASS
MOJO_TMPDIR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment