The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
grep throws in dashes?
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
grep throws in dashes?
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
04-27-2007
sysgate
Unix based
Join Date: Nov 2006
Location: Bulgaria
Posts: 1,323
It's not randomly, it's by design, from "man grep"
Quote:
-B NUM, --before-context=NUM
Print NUM lines of leading context before matching lines. Places a line containing -- between contiguous
groups of matches.
, so it's being used kinda as separator.
sysgate
View Public Profile
Find all posts by sysgate
Find sysgate's past nominations received
Find sysgate's present nominations given