diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2009-02-22 03:01:20 +0000 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2009-02-22 03:01:20 +0000 |
commit | 8a4bdf842ec2a20d45e8aa5c2437f3c55565e69b (patch) | |
tree | 9c1c89a9b79068704bfba69203a2f4419733766b | |
parent | f3c9ed48bc1a476e3cd0919971b0ddaaec968c9c (diff) | |
download | strace-8a4bdf842ec2a20d45e8aa5c2437f3c55565e69b.tar.gz strace-8a4bdf842ec2a20d45e8aa5c2437f3c55565e69b.tar.bz2 strace-8a4bdf842ec2a20d45e8aa5c2437f3c55565e69b.tar.xz |
s/sort | uniq/sort -u/
-rw-r--r-- | linux/ioctlent.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/ioctlent.sh b/linux/ioctlent.sh index fae3bd9..fe6f4fc 100644 --- a/linux/ioctlent.sh +++ b/linux/ioctlent.sh @@ -84,7 +84,7 @@ s/^\(.*\):[[:space:]]*#[[:space:]]*define[[:space:]]*\([A-Z0-9_]*\)[[:space:]]*_ bases=$(sed -n \ -e 's/.*_IOC_NONE.*,[[:space:]]*\([A-Z][A-Z0-9_]\+\)[[:space:]]*,[[:space:]]*\([A-Z][A-Z0-9_]\+\)[[:space:]+,].*/\1\n\2/p' \ -e 's/.*_IOC_NONE.*,[[:space:]]*\([A-Z][A-Z0-9_]\+\)[[:space:]+,].*/\1/p' \ - ioctls.h | sort | uniq) + ioctls.h | sort -u) for base in $bases ; do echo "Looking for $base" regexp="^[[:space:]]*#[[:space:]]*define[[:space:]]\+$base" |