如何使用变量查找模式,然后在同一行中在该模式后添加文本?
我试过这个,但没有用:
sed -i "/$node_number/ i mytext" "$filepath.csv";
sed
sed ×1