aboutsummaryrefslogtreecommitdiff
path: root/docs/cpt.org
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-12-27 13:38:41 +0000
committermerakor <cem@ckyln.com>2020-12-27 13:38:41 +0000
commit05b0ba223335dfa01eefcd46f0498e6a93517048 (patch)
tree91616dfad2864ec333420b7867b573875d17fc9e /docs/cpt.org
parenta16e20a9084843fbb8c153576420ce6ee645614e (diff)
downloadcpt-05b0ba223335dfa01eefcd46f0498e6a93517048.tar.gz
cpt: print docstrings using awk instead of sed
Using awk, we can achieve the following things: - Ignore the rest of the file (2 times faster than sed) - If the line doesn't match the docstring pattern, we can just print a newline instead. I am not exactly really familiar with awk scripting so there might be a better way of doing this. In that case please send a patch and I will apply it. FossilOrigin-Name: bf65db74ad6552bb374f3535ef2a5333bbc0dc3d20563ec37e821036e07f621f
Diffstat (limited to 'docs/cpt.org')
0 files changed, 0 insertions, 0 deletions