Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

awk 报错导致失败 #82

Closed
sinoon opened this issue Apr 12, 2024 · 1 comment
Closed

awk 报错导致失败 #82

sinoon opened this issue Apr 12, 2024 · 1 comment

Comments

@sinoon
Copy link

sinoon commented Apr 12, 2024

很奇怪,awk 语法错误,导致查看安装的服务失败了

 脚本版本: v1.2.0 (2024.04.12)
 功能新增: 1. 增加 Cloudflare Argo Tunnel,让包括传输方式为ws在内的10个协议均不再需要自带域名; 2. Cloudflare Argo Tunnel 支持临时、Json 和 Token 方式,支持使用 [sb -r] 在线切换; 3. Cloudflare Argo Tunnel 开关为 [sb -a],Sing-box 开关从 [sb -o] 更换为 [sb -s]; 4. 详细参考: https://github.com/fscarmen/sing-box
 系统信息:
	 当前操作系统: CentOS Linux 7 (Core)
	 内核: 6.8.1-1.el7.elrepo.x86_64
	 处理器架构: amd64
	 虚拟化: kvm
	 IPv4: 123  美国  IT7 Networks Inc
	 IPv6:
	 Sing-box: 开启	 Version: 1.9.0-rc.7		 内存占用: 17.9 MB
	 Argo: 开启	 Version: 2024.4.0		 内存占用: 24.4 MB
 	 Nginx: 开启	 Version: 1.20.1	

======================================================================================================================

 1 .  查看节点信息 (sb -n)
 2 .  关闭 Sing-box (sb -s)
 3 .  关闭 Argo (sb -a)
 4 .  更换 Argo 隧道 (sb -t)
 5 .  更换监听端口 (sb -p)
 6 .  同步 Sing-box 至最新版本 (sb -v)
 7 .  升级内核、安装BBR、DD脚本 (sb -b)
 8 .  增加 / 删除协议 (sb -r)
 9 .  卸载 (sb -u)
 10.  安装 ArgoX 脚本 (argo + xray) [https://github.com/fscarmen/argox]
 11.  安装 sba 脚本 (argo + sing-box) [https://github.com/fscarmen/sba]
 12.  安装 TCP brutal
 0 .  退出

 请选择: 1
awk: cmd. line:1: /\\/etc\\/sing-box\/cloudflared/{print $2; exit}
awk: cmd. line:1:        ^ backslash not last character on line
awk: cmd. line:1: /\\/etc\\/sing-box\/cloudflared/{print $2; exit}
awk: cmd. line:1:        ^ syntax error

查看了一下本机的 awk 版本是 4.0 的,但是升级到 5.1 还是会有同样的错误。作者是你是在啥环境下跑通的呀?

@fscarmen
Copy link
Owner

已处理,你重新安装看看。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants