mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 13:37:27 +08:00
fix 'sort | uniq'
This commit is contained in:
parent
25169a44ed
commit
bd24e8662e
|
@ -20,8 +20,8 @@ set committers_from_tag (mktemp)
|
|||
# Unicode collation tables mean that this is fraught with danger; for example, the
|
||||
# "“" character will not case-fold in UTF-8 locales. sort suggests using the C locale!
|
||||
|
||||
git log "$TAG" --format="%aN" --reverse | sort | uniq > $committers_to_tag
|
||||
git log "$TAG".. --format="%aN" --reverse | sort | uniq > $committers_from_tag
|
||||
git log "$TAG" --format="%aN" --reverse | sort -u > $committers_to_tag
|
||||
git log "$TAG".. --format="%aN" --reverse | sort -u > $committers_from_tag
|
||||
|
||||
echo New committers:
|
||||
echo (comm -13 $committers_to_tag $committers_from_tag)','
|
||||
|
|
|
@ -203,7 +203,7 @@ function __fish_zfs_list_permissions
|
|||
echo -e "casesensitivity\t"(_ "Case sensitivity")" (sensitive, insensitive, mixed)"
|
||||
end
|
||||
# Permissions set; if none are found, or if permission sets are not supported, no output is expected, even an error
|
||||
for i in (zpool list -o name -H); zfs allow $i; end | grep -o '@[[:alnum:]]*' | sort | uniq
|
||||
for i in (zpool list -o name -H); zfs allow $i; end | grep -o '@[[:alnum:]]*' | sort -u
|
||||
end
|
||||
|
||||
complete -c zfs -f -n '__fish_zfs_needs_command' -s '?' -a '?' -d 'Display a help message'
|
||||
|
|
Loading…
Reference in New Issue
Block a user