sed命令详解

释放双眼,带上耳机,听听看~!

简介

sed是一种流编辑器,它是文本处理中非常重要的工具,能够完美的配合正则表达式使用,功能不同凡响。处理时,把当前处理的行存储在临时缓冲区中,称为“模式空间”(pattern space),接着用sed命令处理缓冲区中的内容,处理完成后,把缓冲区的内容送往屏幕。接着处理下一行,这样不断重复,直到文件末尾。文件内容并没有 改变,除非你使用重定向存储输出。Sed主要用来自动编辑一个或多个文件;简化对文件的反复操作;编写转换程序等。
sed 是一种新型的,非交互式的编辑器。它能执行与编辑器 vi 和 ex 相同的编辑任务。sed 编辑器没有提供交互式使用方式,使用者只能在命令行输入编辑命令、指定文件名,然后在屏幕上查看输出。 sed 编辑器没有破坏性,它不会修改文件,除非使用 shell 重定向来保存输出结果。默认情况下,所有的输出行都被打印到屏幕上。

sed 工作过程

sed 编辑器逐行处理文件(或输入),并将输出结果发送到屏幕。 sed 的命令就是在 vi和 ed/ex 编辑器中见到的那些。 sed 把当前正在处理的行保存在一个临时缓存区中,这个缓存区称为模式空间或临时缓冲。sed 处理完模式空间中的行后(即在该行上执行 sed 命令后),就把改行发送到屏幕上(除非之前有命令删除这一行或取消打印操作)。 sed 每处理完输入文件的最后一行后, sed 便结束运行。 sed 把每一行都存在临时缓存区中,对这个副本进行编辑,所以不会修改或破坏源文件。如图 1: sed 处理过程。
sed命令详解
从上图可以看出 sed 不是破坏性的,它不会修改正在编辑的文件。

Sed 命令格式


1
2
3
1sed [options] 'command' file(s)
2sed [options] -f scriptfile file(s)
3

Sed 定位

Sed 命令在没有给定的位置时,默认会处理所有行;
Sed 支持一下几种地址类型:
1、 firststep
这两个单词的意思: first 指起始匹配行, step 指步长,例如: sed -n 2
5p 含义:从第二行开始匹配,隔 5 行匹配一次,即 2,7,12…….。
2、 $这个$符表示匹配最后一行。
3、 /REGEXP/
这个是表示匹配正则那一行,通过//之间的正则来匹配。
4、 \cREGEXPc
这个是表示匹配正则那一行,通过\c 和 c 之间的正则来匹配,c 可以是任一字符
5、 addr1, add2
定址 addr1, add2 决定用于对哪些行进行编辑。地址的形式可以是数字、正则表达式或二者的结合。如果没有指定地址, sed 将处理输入文件中的所有行。如果定址是一个数字,则这个数字代表行号,如果是逗号分隔的两个行号,那么需要处理的定址就是两行之间的范围(包括两行在内)。范围可以是数字,正则或二者组合。

6、 addr1, +N

从 addr1 这行到往下 N 行匹配,总共匹配 N+1 行
7、 addr1, ~N
Will match addr1 and the lines following addr1 until the next line whose input line number is a multiple of N.【没有看懂是什么意思】

Sed 的正则表达式

表 1: sed 的正则表达式元字符

sed的常用选项

表 2.sed 的常用选项

Sed 操作命令

sed 操作命令告诉 sed 如何处理由地址指定的各输入行。如果没有指定地址, sed 就会处理输入的所有的行。表 3.sed 命令

表 4.替换标志
报错信息和退出信息

遇到语法错误时, sed 会向标准错误输出发送一条相当简单的报错信息。但是,如果 sed判断不出错在何处,它会“断章取义”,给出令人迷惑的报错信息。如果没有语法错误, sed将会返回给 shell 一个退出状态,状态为 0 代表成功,为非 0 整数代表失败。
sed使用实例

下面给出测试文件作为输入文件:


1
2
3
4
5
6
7
8
9
10
11
1[root@m ~]# cat tech.txt
2northwest       NW      Charles Main    3.0     .98     3       34
3western         WE      Sharon Gray     5.3     .97     5       23
4southwest       SW      Lewis Dalsass   2.7     .8      2       18
5southern        SO      Suan Chin       5.1     .95     4       15
6southeast       SE      Patricia Hemenway       4.0     .7      4       17
7eastern         EA      TB Savage       4.4     .84     5       20
8northeast       NE      AM Main Jr.     5.1     .94     3       13
9north           NO      Margot Weber    4.5     .89     5       9
10central         CT      Ann Stephens    5.7     .94     5       13
11

打印: p 命令

命令 p 是打印命令,用于显示模式缓存区的内容。默认情况下, sed 把输入行打印在屏幕上,选项-n 用于取消默认打印操纵。当选项-n 和命令 p 同时出现时, sed 可打印选定的内容

案例1:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
1[root@m ~]# sed '/north/p' tech.txt
2northwest       NW      Charles Main    3.0     .98     3       34
3northwest       NW      Charles Main    3.0     .98     3       34
4western         WE      Sharon Gray     5.3     .97     5       23
5southwest       SW      Lewis Dalsass   2.7     .8      2       18
6southern        SO      Suan Chin       5.1     .95     4       15
7southeast       SE      Patricia Hemenway       4.0     .7      4       17
8eastern         EA      TB Savage       4.4     .84     5       20
9northeast       NE      AM Main Jr.     5.1     .94     3       13
10northeast       NE      AM Main Jr.     5.1     .94     3       13
11north           NO      Margot Weber    4.5     .89     5       9
12north           NO      Margot Weber    4.5     .89     5       9
13central         CT      Ann Stephens    5.7     .94     5       13
14
15

说明:默认情况下, sed 把所有输入行都打印在标准输出上。如果在某一行匹配到 north, sed就把该行另外打印一遍。

案例2


1
2
3
4
5
6
1[root@m ~]# sed -n '/north/p' tech.txt
2northwest       NW      Charles Main    3.0     .98     3       34
3northeast       NE      AM Main Jr.     5.1     .94     3       13
4north           NO      Margot Weber    4.5     .89     5       9
5
6

说明:默认情况下, sed 打印当前缓存区中的输入行。命令 p 指示 sed 将再次打印该行。选项-n 取消 sed 取消默认打印操作。选线-n 和命令配合使用,模式缓冲区内的输入行,只被打印一次。如果不指定-n 选项, sed 就会像上例中那样,打印出重复的行。如果指定了-n,则sed 只打印包含模式 north 的行。
删除: d 命令

命令 d 用于删除输入行。sed 先将输入行从文件复制到模式缓存区,然后对该行执行 sed命令,最后将模式缓存区的内容显示在屏幕上。如果发出的是命令 d,当前模式缓存区的输入行会被删除,不被显示。
案例 3:


1
2
3
4
5
6
7
8
9
10
11
1[root@m ~]# sed '3d' tech.txt
2northwest       NW      Charles Main    3.0     .98     3       34
3western         WE      Sharon Gray     5.3     .97     5       23
4southern        SO      Suan Chin       5.1     .95     4       15
5southeast       SE      Patricia Hemenway       4.0     .7      4       17
6eastern         EA      TB Savage       4.4     .84     5       20
7northeast       NE      AM Main Jr.     5.1     .94     3       13
8north           NO      Margot Weber    4.5     .89     5       9
9central         CT      Ann Stephens    5.7     .94     5       13
10
11

说明:删除第 3 行。默认情况下,其余的行都被打印到屏幕上。

案例 4:


1
2
3
4
5
1[root@m ~]# sed '3,$d' tech.txt
2northwest       NW      Charles Main    3.0     .98     3       34
3western         WE      Sharon Gray     5.3     .97     5       23
4
5

说明:删除从第三行到最后一行内容,剩余各行被打印。地址范围是开始第 3 行,结束最后一行。

案例 5:


1
2
3
4
5
6
7
8
9
1[root@m ~]# sed '/north/d' tech.txt
2western         WE      Sharon Gray     5.3     .97     5       23
3southwest       SW      Lewis Dalsass   2.7     .8      2       18
4southern        SO      Suan Chin       5.1     .95     4       15
5southeast       SE      Patricia Hemenway       4.0     .7      4       17
6eastern         EA      TB Savage       4.4     .84     5       20
7central         CT      Ann Stephens    5.7     .94     5       13
8
9

说明:所有包含模式 north 的行都被动删除,其余行被打印。
替换: s 命令

命令 s 是替换命令。替换和取代文件中的文本可以通过 sed 中的 s 来实现, s 后包含在斜杠中的文本是正则表达式,后面跟着的是需要替换的文本。可以通过 g 标志对行进行全局替换
案例 6:


1
2
3
4
5
6
7
8
9
10
11
12
1[root@m ~]# sed 's/west/north/g' tech.txt
2northnorth       NW      Charles Main    3.0     .98     3       34
3northern         WE      Sharon Gray     5.3     .97     5       23
4southnorth       SW      Lewis Dalsass   2.7     .8      2       18
5southern        SO      Suan Chin       5.1     .95     4       15
6southeast       SE      Patricia Hemenway       4.0     .7      4       17
7eastern         EA      TB Savage       4.4     .84     5       20
8northeast       NE      AM Main Jr.     5.1     .94     3       13
9north           NO      Margot Weber    4.5     .89     5       9
10central         CT      Ann Stephens    5.7     .94     5       13
11
12

说明:s 命令用于替换。命令末端的 g 表示在行内全局替换;也就是说如果每一行里出现多个west,所有的 west 都会被替换为 north。如果没有 g 命令,则只将每一行的第一 west 替换为 north。
案例 7:


1
2
3
4
1[root@m ~]# sed -n 's/^west/north/p' tech.txt
2northern         WE      Sharon Gray     5.3     .97     5       23
3
4

说明:s 命令用于替换。选线-n 与命令行末尾的标志 p 结合,告诉 sed 只打印发生替换的那些行;也就是说,如果只有在行首找到 west 并替换成 north 时才会打印此行。
案例 8:


1
2
3
4
5
6
7
8
9
10
11
12
1[root@m ~]# sed 's/[0-9][0-9]$/&.5/' tech.txt
2northwest       NW      Charles Main    3.0     .98     3       34.5
3western         WE      Sharon Gray     5.3     .97     5       23.5
4southwest       SW      Lewis Dalsass   2.7     .8      2       18.5
5southern        SO      Suan Chin       5.1     .95     4       15.5
6southeast       SE      Patricia Hemenway       4.0     .7      4       17.5
7eastern         EA      TB Savage       4.4     .84     5       20.5
8northeast       NE      AM Main Jr.     5.1     .94     3       13.5
9north           NO      Margot Weber    4.5     .89     5       9
10central         CT      Ann Stephens    5.7     .94     5       13.5
11
12

说明:当“与”符号( &)用在替换串中时,它代表在查找串中匹配到的内容时。这个示例中所有以 2 位数结尾的行后面都被加上.5。
案例 9:


1
2
3
4
1[root@m ~]# sed -n 's/Hemenway/Jones/gp' tech.txt
2southeast       SE      Patricia Jones       4.0     .7      4       17
3
4

说明:文件中出现的所有的 Hemenway 都被替换为 Jones,只有发生变化的行才会打印出来。选项-n 与命令 p 的组合取消了默认的输出。标志 g 的含义是表示在行内全局替换。

案例 10:


1
2
3
4
5
6
7
8
9
10
11
12
13
1[root@m ~]# sed 's/\(Mar\)got/\1linanne/p' tech.txt
2northwest       NW      Charles Main    3.0     .98     3       34
3western         WE      Sharon Gray     5.3     .97     5       23
4southwest       SW      Lewis Dalsass   2.7     .8      2       18
5southern        SO      Suan Chin       5.1     .95     4       15
6southeast       SE      Patricia Hemenway       4.0     .7      4       17
7eastern         EA      TB Savage       4.4     .84     5       20
8northeast       NE      AM Main Jr.     5.1     .94     3       13
9north           NO      Marlinanne Weber    4.5     .89     5       9
10north           NO      Marlinanne Weber    4.5     .89     5       9
11central         CT      Ann Stephens    5.7     .94     5       13
12
13

说明:包含在圆括号里的模式 Mar 作为标签 1 保存在特定的寄存器中。替换串可以通过\1 来引用它。则 Margot 被替换为 Marlinane。
案例 11:


1
2
3
4
5
6
7
8
9
10
11
12
1[root@m ~]# sed 's#3#88#g' tech.txt
2northwest       NW      Charles Main    88.0     .98     88       884
3western         WE      Sharon Gray     5.88     .97     5       288
4southwest       SW      Lewis Dalsass   2.7     .8      2       18
5southern        SO      Suan Chin       5.1     .95     4       15
6southeast       SE      Patricia Hemenway       4.0     .7      4       17
7eastern         EA      TB Savage       4.4     .84     5       20
8northeast       NE      AM Main Jr.     5.1     .94     88       188
9north           NO      Margot Weber    4.5     .89     5       9
10central         CT      Ann Stephens    5.7     .94     5       188
11
12

说明:紧跟在 s 命令后的字符就是查找串和替换串之间的分隔符。分隔符默认默认为正斜杠,但可以改变。无论什么字符(换行符,反斜线除外),只要紧跟在 s 命令,就成了新的串分隔符。这个方法在查找包含正斜杠模式时很管用,例如查找路径名或生日。
指定行的范围:逗号

行的范围从文件中的一个地址开始,在另一个地址结束。地址范围可以是行号(例如5,10),正则表达式(例如/Dick/和/Joe/),或者两者的结合(例如/north/,$)范围是闭合的——包含开始条件的行,结束条件的行,以及两者之间的行。如果结束条件无法满足,就会一直操作到文件结尾。如果结束条件满足,则继续查找满足开始条件的位置,范围重新开始。
案例 12:


1
2
3
4
5
6
7
8
1[root@m ~]# sed -n '/west/,/east/p' tech.txt
2northwest       NW      Charles Main    3.0     .98     3       34
3western         WE      Sharon Gray     5.3     .97     5       23
4southwest       SW      Lewis Dalsass   2.7     .8      2       18
5southern        SO      Suan Chin       5.1     .95     4       15
6southeast       SE      Patricia Hemenway       4.0     .7      4       17
7
8

说明:打印模式 west 和 east 之间所有的行。如果 west 出现在 east 之后的某一行,则打印的范围从 west 所在行开始,到下一个出现 east 的行或文件的末尾(如果前者未出现)。图中用箭头表示出了该范围。
sed命令详解

案例 13:


1
2
3
4
5
6
1[root@m ~]# sed -n '5,/northeast/p' tech.txt
2southeast       SE      Patricia Hemenway       4.0     .7      4       17
3eastern         EA      TB Savage       4.4     .84     5       20
4northeast       NE      AM Main Jr.     5.1     .94     3       13
5
6

说明:打印从第 5 行开始第一个以 northeast 开头的行之间的所有行。

案例 14:


1
2
3
4
5
6
7
8
9
10
11
12
1[root@m ~]# sed '/west/,/east/s/$/**VACA**/' tech.txt
2northwest       NW      Charles Main    3.0     .98     3       34**VACA**
3western         WE      Sharon Gray     5.3     .97     5       23**VACA**
4southwest       SW      Lewis Dalsass   2.7     .8      2       18**VACA**
5southern        SO      Suan Chin       5.1     .95     4       15**VACA**
6southeast       SE      Patricia Hemenway       4.0     .7      4       17**VACA**
7eastern         EA      TB Savage       4.4     .84     5       20
8northeast       NE      AM Main Jr.     5.1     .94     3       13
9north           NO      Margot Weber    4.5     .89     5       9
10central         CT      Ann Stephens    5.7     .94     5       13
11
12

说明:修改从模式 wast 和 east 之间的所有行,将各行的行尾($)替换为字符串VACA。换行符被移到新的字符串后面。
多重编辑: e 命令

-e 命令是编辑命令,用于 sed 执行多个编辑任务的情况下。在下一行开始编辑前,所有的编辑动作将应用到模式缓存区的行上。
案例 15:


1
2
3
4
5
6
7
8
9
1[root@m ~]# sed  -e '1,3d' -e 's/Hemenway/Jones/' tech.txt
2southern        SO      Suan Chin       5.1     .95     4       15
3southeast       SE      Patricia Jones       4.0     .7      4       17
4eastern         EA      TB Savage       4.4     .84     5       20
5northeast       NE      AM Main Jr.     5.1     .94     3       13
6north           NO      Margot Weber    4.5     .89     5       9
7central         CT      Ann Stephens    5.7     .94     5       13
8
9

说明:选项-e 用于进行多重编辑。第一重编辑编辑删除第 1~3 行。第二重编辑将Hemenway 替换为 Jones。因为是逐行进行这两行编辑(即这两个命令都在模式空间的当前行上执行),所以编辑命令的顺序会影响结果。例如,如果两条命令都执行的是替换,前一次替换会影响后一次替换。
追加: a 命令

a 命令是追加命令,追加将新文本到文件中当前行(即读入模式的缓存区行)的后面。不管是在命令行中,还是在 sed 脚本中, a 命令总是在反斜杠的后面。
案例 16:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
1[root@m ~]# sed '/^north/a hellow world!' tech.txt
2northwest       NW      Charles Main    3.0     .98     3       34
3hellow world!
4western         WE      Sharon Gray     5.3     .97     5       23
5southwest       SW      Lewis Dalsass   2.7     .8      2       18
6southern        SO      Suan Chin       5.1     .95     4       15
7southeast       SE      Patricia Hemenway       4.0     .7      4       17
8eastern         EA      TB Savage       4.4     .84     5       20
9northeast       NE      AM Main Jr.     5.1     .94     3       13
10hellow world!
11north           NO      Margot Weber    4.5     .89     5       9
12hellow world!
13central         CT      Ann Stephens    5.7     .94     5       13
14
15

说明:命令 a 用于追加。字符串 Hello, World!被加在以 north 开头的各行之后。如果要追加的内容超过一行,则除最后一行外,其他各行都必须以反斜杠结尾。
插入: i 命令

i 命令是插入命令,类似于 a 命令,但不是在当前行后增加文本,而是在当前行前面插入新的文本,即刚读入缓存区模式的行。
案例 17:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
1[root@m ~]# sed '/eastern/i hello,world \
2------------------------------------' tech.txt
3northwest       NW      Charles Main    3.0     .98     3       34
4western         WE      Sharon Gray     5.3     .97     5       23
5southwest       SW      Lewis Dalsass   2.7     .8      2       18
6southern        SO      Suan Chin       5.1     .95     4       15
7southeast       SE      Patricia Hemenway       4.0     .7      4       17
8hello,world
9------------------------------------
10eastern         EA      TB Savage       4.4     .84     5       20
11northeast       NE      AM Main Jr.     5.1     .94     3       13
12north           NO      Margot Weber    4.5     .89     5       9
13central         CT      Ann Stephens    5.7     .94     5       13
14
15
16

说明:命令 i 是插入命令。如果在某一行匹配到模式 eastern,i 命令就在该行的上方插入命令中插入反斜杠后面后的文本。除了最后一行,
修改: c 命令

c 命令是修改命令。 sed 使用该命令将已有的文本修改成新的文本。旧文本被覆盖。
案例 18:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
1[root@m ~]# sed '/eastern/c hello,world \
2> ------------------------------------' tech.txt
3northwest       NW      Charles Main    3.0     .98     3       34
4western         WE      Sharon Gray     5.3     .97     5       23
5southwest       SW      Lewis Dalsass   2.7     .8      2       18
6southern        SO      Suan Chin       5.1     .95     4       15
7southeast       SE      Patricia Hemenway       4.0     .7      4       17
8hello,world
9------------------------------------
10northeast       NE      AM Main Jr.     5.1     .94     3       13
11north           NO      Margot Weber    4.5     .89     5       9
12central         CT      Ann Stephens    5.7     .94     5       13
13
14

说明:c 命令是修改命令。该命令将完整地修改在模式缓冲区行的当前行。如果模式 eastern被匹配, c 命令将其后的文本替换包含 eastern 的行。
获取下一行: n 命令

n 命令表示下一条命令。 sed 使用该命令获取输入文件的下一行,并将其读入到模式缓冲区中,任何 sed 命令都将应用到匹配行,紧接着的下一行上。
案例 19:


1
2
3
4
5
6
7
8
9
10
11
12
1[root@m ~]# sed '/eastern/{n;s/AM/Archie/;}' tech.txt
2northwest       NW      Charles Main    3.0     .98     3       34
3western         WE      Sharon Gray     5.3     .97     5       23
4southwest       SW      Lewis Dalsass   2.7     .8      2       18
5southern        SO      Suan Chin       5.1     .95     4       15
6southeast       SE      Patricia Hemenway       4.0     .7      4       17
7eastern         EA      TB Savage       4.4     .84     5       20
8northeast       NE      Archie Main Jr.     5.1     .94     3       13 ## 此行就是被替换的行
9north           NO      Margot Weber    4.5     .89     5       9
10central         CT      Ann Stephens    5.7     .94     5       13
11
12

说明:如果在某一行匹配到模式 eastern, n 命令就指示 sed 用下一个输入行(即包含 AM MainJr 的那行)替换模式空间中的当前行,并用 Archie 替换 AM,然后打印该行,再继续往下处理
转换: y,命令

y 命令表示转换。该命令与 tr 命令相似,字符按照一对一的方式从左到右进行转换。例如 y/abc/ABC/,会把小写字母转换成大写字母, a–>A,b–>B,c–>C。
案例 20:


1
2
3
4
5
6
7
8
9
10
11
12
1[root@m ~]# sed '1,3y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' tech.txt
2NORTHWEST       NW      CHARLES MAIN    3.0     .98     3       34
3WESTERN         WE      SHARON GRAY     5.3     .97     5       23
4SOUTHWEST       SW      LEWIS DALSASS   2.7     .8      2       18
5southern        SO      Suan Chin       5.1     .95     4       15
6southeast       SE      Patricia Hemenway       4.0     .7      4       17
7eastern         EA      TB Savage       4.4     .84     5       20
8northeast       NE      AM Main Jr.     5.1     .94     3       13
9north           NO      Margot Weber    4.5     .89     5       9
10central         CT      Ann Stephens    5.7     .94     5       13
11
12

说明:y 命令把 1~3 行中所有的小写命令字母都转换成了大写。正则表达式元字符对 y 命令不起作用。与替分隔符一样,斜杠可以被替换成其他字符。
退出: q 命令

q 命令表示退出命令。该命令将导致 sed 程序退出,且不再进行其他的处理。

案例 21:


1
2
3
4
5
6
7
8
1[root@m ~]# sed '5q' tech.txt
2northwest       NW      Charles Main    3.0     .98     3       34
3western         WE      Sharon Gray     5.3     .97     5       23
4southwest       SW      Lewis Dalsass   2.7     .8      2       18
5southern        SO      Suan Chin       5.1     .95     4       15
6southeast       SE      Patricia Hemenway       4.0     .7      4       17
7
8

说明:打印完第 5 行之后, q 让 sed 程序退出。
案例 22:


1
2
3
4
5
1[root@m ~]# sed '/Lewis/{ s/Lewis/Joseph/;q; }' tech.txt
2northwest       NW      Charles Main    3.0     .98     3       34
3western         WE      Sharon Gray     5.3     .97     5       23
4southwest       SW      Joseph Dalsass   2.7     .8      2       18
5

说明:在某行匹配到模式 Lewis 时, s 表示先用 Joseph 替换 Lewis,然后 q 命令让 sed 退出。

生产环境案例

在实际生产中,在修改配置文件的时候,有一些空格、空行、带“ #”开头的注释都要删除或替换,下面为大家介绍几个实用的例子
案例 23:


1
2
3
4
5
6
7
8
9
10
11
1[root@m ~]# cat sed.txt
2 today is nice day
3 you can walk out on the street
4 it will be import to you
5##每行的前面都有空格
6[root@m ~]# sed 's/^[ ]*//' sed.txt
7today is nice day
8you can walk out on the street
9it will be import to you
10
11

案例24:从 Google 上下载下来的配置文件往往都带有数字,现在需要删除所有行的首数字。


1
2
3
4
5
6
7
8
9
10
1[root@m ~]# cat sed.txt
21today is nice day
32you can walk out on the street
43it will be import to you
5[root@m ~]# sed 's/^[0-9][0-9]*//g' sed.txt
6today is nice day
7you can walk out on the street
8it will be import to you
9
10

给TA打赏
共{{data.count}}人
人已打赏
安全技术安全运维

Windows服务器如何发现被黑

2018-5-20 12:24:31

安全技术

bootstrap栅格系统自定义列

2021-12-21 16:36:11

个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索