]> git.neil.brown.name Git - wiggle.git/blob - get-p-options
Disable *all* backups when --no-backups used
[wiggle.git] / get-p-options
1 #!/bin/sh
2 #
3 # make sure all p commands are in the help file
4
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