Skip to content

Instantly share code, notes, and snippets.

@smerrill
Created May 28, 2010 14:03
Show Gist options
  • Save smerrill/417177 to your computer and use it in GitHub Desktop.
Save smerrill/417177 to your computer and use it in GitHub Desktop.
grep -r -n Cookie .
# Grep recursively (-r) for all files in this directory that
# contain Cookie (case-sensitive unless -i is used) and print
# their line numbers (-n). Outputs:
./pressplus.module:179: drupal_set_header('Vary', 'Cookie');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment