diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-01-22 01:38:11 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-01-22 01:38:11 +0000 |
commit | 3b3020117c4808d09b18f55a4482649db14b3ba3 (patch) | |
tree | 8d346461fe182e9d8d570671844a9d31bdbbb1e3 /libexec | |
parent | 7fbb287018457945cd8c2a4a14964139d97aa330 (diff) |
use cut; clay@boobah.com
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/spamd/spamd-setup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/spamd/spamd-setup.sh b/libexec/spamd/spamd-setup.sh index 6e445839c41..7a2be7876d6 100644 --- a/libexec/spamd/spamd-setup.sh +++ b/libexec/spamd/spamd-setup.sh @@ -1,6 +1,6 @@ #!/bin/sh -# $OpenBSD: spamd-setup.sh,v 1.3 2003/01/06 00:05:04 deraadt Exp $ +# $OpenBSD: spamd-setup.sh,v 1.4 2003/01/22 01:38:10 deraadt Exp $ # # Copyright (c) 2002 Theo de Raadt. All rights reserved. # @@ -35,7 +35,7 @@ case $# in esac filter() { - grep -v '#' | sed 's/ .*$//g' | sort + grep -v '#' | cut -d' ' -f1 | sort } pfcmd() { |