mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-26 04:07:45 +03:00
tests: nawk -> awk
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: John Kennedy <john.kennedy@delphix.com> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13259
This commit is contained in:
@@ -58,7 +58,7 @@ function get_acl #<obj>
|
||||
return 1
|
||||
fi
|
||||
|
||||
ls -vd $obj | nawk '(NR != 1) {print $0}'
|
||||
ls -vd $obj | awk '(NR != 1) {print $0}'
|
||||
}
|
||||
|
||||
#
|
||||
@@ -73,7 +73,7 @@ function get_compact_acl #<obj>
|
||||
return 1
|
||||
fi
|
||||
|
||||
ls -Vd $obj | nawk '(NR != 1) {print $0}'
|
||||
ls -Vd $obj | awk '(NR != 1) {print $0}'
|
||||
}
|
||||
|
||||
#
|
||||
@@ -246,7 +246,7 @@ function count_ACE #<file or dir name>
|
||||
return 1
|
||||
fi
|
||||
|
||||
ls -vd $1 | nawk 'BEGIN {count=0}
|
||||
ls -vd $1 | awk 'BEGIN {count=0}
|
||||
(NR != 1)&&(/[0-9]:/) {count++}
|
||||
END {print count}'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user