0

sed: 替换报错 RE error: illegal byte sequence

sky created at6 years ago view count: 3356
report
回复
0

export LC_CTYPE=C 试试看

6 years ago 回复
0

LC_ALL=C 只注册ASCII编码,其他的字符都按ASCII走

6 years ago 回复
0

SHELL 脚本一般开头都会加上 export LC_ALL=C 是为了去除所有本地化的设置,让命令能正确执行。

6 years ago 回复

Recent search keywords