浏览代码

include purpose

tags/v20240408
Chad C. Starz 1 个月前
父节点
当前提交
973a8d0b59
找不到此签名对应的密钥 GPG 密钥 ID: CEEBC9208C287297
共有 1 个文件被更改,包括 15 次插入1 次删除
  1. +15
    -1
      README

+ 15
- 1
README 查看文件

@@ -56,9 +56,23 @@ Removes any singular file or directory non recursively defined within @{...},
this has no effect on the normal processing of the statement and is macro'd out
before it is executed.

This is useful in such cases that you create a temporary file or output file
that may be later recreated or may need to be manually updated. It is most
useful for simple scrubbing of outputs. You could have a directory of toy
programs and wish to clean them all up, and using a command like:

for i in `ls *.c`; do bake -x $i; done

This is of course can also be done with another UNIX command like the following,
assuming the other files outside of the regexp are not important:

ls | egrep -v '.+\.[ch]' | xargs rm

This feature was suggested by the original author of Shake, blame him for this.

--- Options ---

Options must come as the first argument, and may be merged together, such as -xn.
Options must come before the filename, and may be merged together, such as -xn.

-v, --version: display versioning and licensing information.
-h, --help: display the help message, similarly to empty input.


正在加载...
取消
保存