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

tcping 接入管道时出现入参报错 #33

Closed
waitspring opened this issue Dec 12, 2022 · 2 comments
Closed

tcping 接入管道时出现入参报错 #33

waitspring opened this issue Dec 12, 2022 · 2 comments

Comments

@waitspring
Copy link

tcping 接入管道时出现入参报错

情境一

echo "127.0.0.1 22" | xargs -i tcping -c 1 ${i}
not a valid uri
... ...

情境二

DEST="127.0.0.1 22,172.16.0.1 22"
IFS=","
for i in ${DEST}; do
    tcping -c 1 ${i}
done

需要作者 @cloverstd 跟进处理一下,否则 tcping 只能当个简单的命令行工具使用

@waitspring
Copy link
Author

经验证,情境一确实是不需要的,毕竟 tcping 无须接收文件参数,但情境二还希望各位开发可以考虑一下。

@sxueck
Copy link
Contributor

sxueck commented Jan 9, 2023

TODO

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