shell脚本中的$

来源:学生作业帮助网 编辑:六六作业网 时间:2024/05/02 12:54:35
shell脚本中的$shell脚本中的$shell脚本中的$看你问了几次类似的问题,干脆总结一下吧.这些都是makefile的内建命令,含义如下:$@target$%filenameofanarchi

shell脚本中的$
shell脚本中的$

shell脚本中的$
看你问了几次类似的问题,干脆总结一下吧.
这些都是makefile的内建命令,含义如下:
$@ target
$% file name of an archive member
$< first prerequisite
prerequisites newer than target
$^ prerequisites
$+ similar to $^,including duplicates
$* stem of the target filename