shell脚本中的$

来源:学生作业学帮网 编辑:学帮网 时间:2024/04/25 02:02:30

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