Paul wrote:

> So I have a patch to mh-chart-gen.sh which auto-generates the SEE ALSO
> section.  The results look like this (bolding removed for email).

Good stuff.

> I believe my script changes are "old shell" compatible, if not
> "ancient shell" compatible.  I get the same output if I run it with
> either "bash --posix" or "ash".

grep -A is a GNU-ism.  Maybe something like sed -n '/.SH NAME/{n;p;}'
would simplify that whole line?

David

Reply via email to