gawk/awk some command lines

gawk '/^#[[:space:]]+/' allbook_modified.md

The above code will print out all section names of a markdown file.

posted @ 2023-11-06 10:17  ChrainY  阅读(16)  评论(0)    收藏  举报