- fix the comment describing what this does

- " egrep ... | awk "  can be replaced by a smarter bit of awk...
This commit is contained in:
lukem 2002-02-27 10:43:42 +00:00
parent 2d86ced5d9
commit 6cfea188a7

View File

@ -1,7 +1,8 @@
#!/bin/sh
#
# Print out the files in some or all lists.
# Usage: makeflist [-a arch] [-m machine] [-s setsdir] setname
# $NetBSD: listpkgs,v 1.2 2002/02/27 10:43:42 lukem Exp $
#
# List all packages in the given pkgset by parsing the list files.
#
# set defaults
@ -82,4 +83,4 @@ fi
cat $setd/lists/$setname/shl.${shlib}
fi
fi
)| egrep -v '^#' | awk -- '{print $2}' | sort -u
)| awk -- '/^[^#]/ {print $2}' | sort -u