From 58852b3246e41be1512d5d167bb47b69c099c324 Mon Sep 17 00:00:00 2001 From: Stephane Chazelas Date: Fri, 2 Jun 2023 16:29:32 +0100 Subject: Protect another : from history modifier expansion --- ChangeLog | 2 ++ Completion/Solaris/Command/_ipadm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b94a009e7..e1cd64c91 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2023-06-06 Peter Stephenson + * Stephan: 51818: Protect another ':'. + * Stephane: 51817: Protect some use of ':' from history modifier interpreation. diff --git a/Completion/Solaris/Command/_ipadm b/Completion/Solaris/Command/_ipadm index 34d1eacba..c59fc8108 100644 --- a/Completion/Solaris/Command/_ipadm +++ b/Completion/Solaris/Command/_ipadm @@ -136,7 +136,7 @@ _ipadm() { proto_icmp_properties=( "max_buf" "recv_buf" "send_buf" ) proto_all_properties=( $proto_ipv4_properties $proto_ipv6_properties $proto_tcp_properties $proto_udp_properties $proto_sctp_properties $proto_icmp_properties ) - proto_all_properties=( $^proto_all_properties:value:_ipadm_get_possible_values ) + proto_all_properties=( ${^proto_all_properties}:value:_ipadm_get_possible_values ) proto_propproperties=( "proto" "property" "perm" "current" "persistent" "default" "possible" ) -- cgit v1.2.3-70-g09d2