#!/bin/sh - # # $Id: chk.str,v 1.3 2001/06/15 17:02:33 bostic Exp $ # # Check spelling in quoted strings. # Run from the top-level directory. [ -f db_config.h ] && cd .. sed -e '/^#include/d' \ -e '/revid/d' \ -e '/"/!d' \ -e 's/^[^"]*//' \ -e 's/%s/ /g' \ -e 's/[^"]*$//' \ -e 's/\\[nt]/ /g' */*.c */*.cpp | spell | sort | comm -23 /dev/stdin dist/build/spell.ok