2026-09-13 00:45 UTC
@jpaskaruk@growers.social
This sounds like a job for AWK.
#AWK #grep #RegEx
Replies (1)
-
@drscriptt@oldbytes.space 2026-09-13 02:04
@bobjonkman@mastodon.sdf.org @jpaskaruk@growers.social I might not understand the original data correctly. But I’ll often do something like the following: sed -n ‘/-A/,/^$/p’ Print lines that contain ‘-A’ through blank lines.