I need use sed into bash script, for add lines after any line numer of script with some pair of values (below work)
sed -i.bak '14isome_text=some_text' file
But I need on script bash (sh) for expand variables (below not work)
sed -i.bak '$number_linei$var1=$var2' $var3
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…