]> git.proxmox.com Git - mirror_zfs-debian.git/commit
Avoid using awk in the zpool_id script.
authorDarik Horn <dajhorn@vanadac.com>
Fri, 30 Dec 2011 20:18:58 +0000 (14:18 -0600)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 11 Jan 2012 19:56:56 +0000 (11:56 -0800)
commitb97f368d047943607b5b263331d7e2075ab3ffe8
tree0db0ed41b0ab002141e4b3243788acc6ea48b017
parentab26409db753bb087842ab6f1af943f3386c764f
Avoid using awk in the zpool_id script.

Some implementations of `awk` incorrectly parse the \< and \> regex
symbols, so use a `while read` loop and regular globbing instead.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes: #259
cmd/zpool_id/zpool_id