經過linux shell實現按模版生成配置功能

背景:我有兩個模版文件widthdraw和deposit,另外有一個input,須要解析input的配一行配置數據,而後按不一樣字段來替換widthdraw和deposit文件sql 涉及到的shell技術點:須要for循環,數據比較,if判斷,文件替換,文件追加shell 詳細代碼以下:spa rm -rf withdraw.sql rm -rf deposit.sql touch withd
相關文章
相關標籤/搜索