What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-09-15 07:25:02
cat file content after pattern
# greps for Pattern and outputs up to 100000 lines following that line pattern match. grep -A100000 Pattern file # greps for word Partition in multiple file ending in .md and outputs up to 15 lines following that line pattern match. grep -A15 Partition *... Add solution -
Shell/Bash 2021-09-03 23:22:02
bash print n lines after match
# Basic syntax: grep -A number word_to_match input_file # This prints "number" number of lines after and including the first # line that matches word_to_match in the input_file # Note, the word_to_match can be any expression that grep uses for ... Add solution -
Other 2021-08-31 11:59:02
wiki/BackendPolling
zgrep -aE \ '(<https?://schema.org/([^ >]+/)?(addressCountry|name|salaryCurrency|currency)> "(Australia|AU|AUS|AUD)")|( <https?://[^ >/]+\.au/[^ >]*> \.$)' \ *.gz | \ grep -Eo '<https?://[^ >]+> .$' | uniq | \ s... Add solution
Best helpers
Ranking is empty