From 3670b9e8879396516b4849309ac5aabd1381fd67 Mon Sep 17 00:00:00 2001 From: Victor-PYJ <46912208+Victor-PYJ@users.noreply.github.com> Date: Mon, 19 Feb 2024 11:14:47 +0800 Subject: [PATCH] =?UTF-8?q?shell=E8=84=9A=E6=9C=AC=E5=AD=97=E7=AC=A6?= =?UTF-8?q?=E4=B8=B2=E6=88=AA=E5=8F=96=E7=BB=93=E6=9E=9C=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/cs-basics/operating-system/shell-intro.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cs-basics/operating-system/shell-intro.md b/docs/cs-basics/operating-system/shell-intro.md index 1c45e431..48066214 100644 --- a/docs/cs-basics/operating-system/shell-intro.md +++ b/docs/cs-basics/operating-system/shell-intro.md @@ -220,7 +220,7 @@ var="https://www.runoob.com/linux/linux-shell-variable.html" # 注: *为通配符, 意为匹配任意数量的任意字符 s1=${var%%t*} #h s2=${var%t*} #https://www.runoob.com/linux/linux-shell-variable.h -s3=${var%%.*} #http://www +s3=${var%%.*} #https://www s4=${var#*/} #/www.runoob.com/linux/linux-shell-variable.html s5=${var##*/} #linux-shell-variable.html ```