grep your heart out

I'm still learning to use more command line options.
Today I wanted to apply Hide machine readable name of menu by default. so I had to search for the context around the drupal #attached_js form tag.
So I type man grep and search for context. And bly me there is an option :)
grep --context=4 -r "attached_js" *
Which is _cool_

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters (without spaces) shown in the image.