minix/games/fortune/tools/Do_spell
Thomas Cort bd0f8badfa Importing games/fortune
Replaces commands/fortune. No Minix specific changes needed.

Change-Id: Iac79ea82dedd12e80377c85954da5e2d8eee74af
2014-07-28 17:05:16 +02:00

11 lines
192 B
Bash

#!/bin/sh -
# $NetBSD: Do_spell,v 1.2 1995/03/23 08:28:50 cgd Exp $
#
# @(#)Do_spell 8.1 (Berkeley) 5/31/93
#
F=_spell.$$
echo $1
spell < $1 > $F
sort $F $1.sp.ok | uniq -u | column
rm -f $F