@thann
mod
admin
link
fedilink
24M

what do you mean by “context”?

grep has a -C argument that shows “context”, as in “surrounding lines”

@ajr@lemmy.ml
creator
link
fedilink
24M

Yeah I meant that. Wow I hadn’t even thought of grep which should have been the first that came to mind. Thanks.

Ask specific questions about how to code something in sh, bash, zsh, etc

General bash discussion on lemmy.ml

Create Post From:
lemmy.ml

  • 0 users online
  • 2 users / day
  • 2 users / week
  • 2 users / month
  • 5 users / 6 months
  • 17 subscribers
  • 9 Posts
  • 17 Comments
  • Modlog