diff options
Diffstat (limited to 'gnu/usr.bin/groff/gendef.sh')
-rw-r--r-- | gnu/usr.bin/groff/gendef.sh | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gnu/usr.bin/groff/gendef.sh b/gnu/usr.bin/groff/gendef.sh deleted file mode 100644 index e2b2575ffbd..00000000000 --- a/gnu/usr.bin/groff/gendef.sh +++ /dev/null @@ -1,24 +0,0 @@ -# gendef filename var=val var=val - -file=$1 -shift - -defs="#define $1" -shift -for def -do - defs="$defs -#define $def" -done - -t=/tmp/groff.$$ - -sed -e 's/=/ /' >$t <<EOF -$defs -EOF - -test -r $file && cmp -s $t $file || cp $t $file - -rm -f $t - -exit 0 |