Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeongoon/hgrep
use grep command with printing head line
https://github.com/jeongoon/hgrep
Last synced: 17 days 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-04-26T05:41:59.000Z (over 2 years ago)
- Last Synced: 2024-11-05T11:16:16.610Z (2 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.