Neurohazard
暮雲煙月,皓首窮經;森羅萬象,如是我聞。

使用 awk 处理 Excel 快速拼接字符串

wpadmin~May 13, 2019 /System Management

使用 awk 处理 Excel 快速拼接字符串

正文

cat ~/20190507.txt | awk '{url=($1=="80")?"http://"$3:"https://"$3;cmd="echo "url;system(cmd)}'

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.