Elektrine lite

← Feed

@drscriptt@oldbytes.space

2026-09-13 02:04 UTC

@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.

Replies (1)

  • @gumnos@mastodon.bsd.cafe 2026-09-13 02:12

    Seconding @drscriptt@oldbytes.space's suggestion here. But running with @bobjonkman@mastodon.sdf.org's, the #awk syntax would be similar: awk '/-A/,/^$/' or awk '/-A/,!length' @jpaskaruk@growers.social

    Open ##4683338