https://github.com/jeongoon/hgrep
use grep command with printing head line
https://github.com/jeongoon/hgrep
Last synced: 3 months ago
JSON representation
use grep command with printing head line
- Host: GitHub
- URL: https://github.com/jeongoon/hgrep
- Owner: jeongoon
- License: mit
- Created: 2022-04-22T23:38:44.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-26T05:41:59.000Z (about 3 years ago)
- Last Synced: 2025-02-14T19:51:25.397Z (5 months ago)
- Language: Perl
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
* hgrep
run grep command but keep the head line.
** Usage#+begin_src sh
sh> ps aux | hgrep.fish -C 1 "fish"
# or
sh> ps aux | hgrep.pl -C 1 "fish"
# or
sh> ps aux | hgrep.py -C 1 "fish"#+end_src
** Blog
[[https://jeongoon.github.io/posts/2022-04-23-grep-with-header.html][find this blog]] for more information.