From 497809932b51afbb3af6f2ccbc7ef55a13242dc9 Mon Sep 17 00:00:00 2001 From: xueweihan <595666367@qq.com> Date: Mon, 13 Mar 2023 09:50:37 +0800 Subject: [PATCH] update --- README_template.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README_template.md b/README_template.md index 64ffc689c..efb235ef4 100644 --- a/README_template.md +++ b/README_template.md @@ -87,11 +87,11 @@ hosts 文件在每个系统的位置不一,详情如下: ### 2.3 一行命令 (适用于类 Unix 系统) -# for GNU sed (Ubuntu/CentOS/Fedora) +#### GNU(Ubuntu/CentOS/Fedora) `sed -i "/# GitHub520 Host Start/Q" /etc/hosts && curl https://raw.hellogithub.com/hosts >> /etc/hosts` -# for BSD/macOS sed +#### BSD/macOS `sed -i "" "/# GitHub520 Host Start/,/# Github520 Host End/d" /etc/hosts && curl https://raw.hellogithub.com/hosts >> /etc/hosts`