]> git.xolatile.top Git - emil-bake.git/commitdiff
include purpose
authorEmil Williams <emilemilemil@cock.li>
Mon, 8 Apr 2024 23:47:02 +0000 (23:47 +0000)
committerEmil Williams <emilemilemil@cock.li>
Mon, 8 Apr 2024 23:47:02 +0000 (23:47 +0000)
README

diff --git a/README b/README
index fa0fc9801e0af688a7e9d8d2a3b687add4efaad9..26212b0ba2f109e63858593f916cf4f355120de2 100644 (file)
--- a/README
+++ b/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.