Always be careful with shell expansion and variable names.
始终要谨慎使用Shell扩展和变量名称。
It's a good idea to get into the habit of using single quotes to surround your sed commands, so that shell expansion is disabled.
养成使用单引号来括起sed命令的习惯是个好注意,这样可以禁用shell扩展。
A command between back ticks runs as the shell interprets the command line, and the output of the command is used in the final expansion.
在Shell对命令行进行解释时,将执行反勾号之间的命令,并在最终的扩展结果中使用该命令的输出。
应用推荐