3 # make sure all p commands are in the help file
5 sed -n -e '/^case/,/^esac/p' p |
grep ')$' |
grep -v '(' |
6 tr '\011' '@' |
grep -v '@' |
tr -cs '[A-Za-z0-9]' '\n' |
sort > /tmp
/p.cmds
7 sed -n -e '/^[a-z]/p' p.
help |
sort > /tmp
/p.hlp
8 comm -3 /tmp
/p.cmds
/tmp
/p.hlp