Introduction
Introduction Statistics Contact Development Disclaimer Help
tcookwhat: revert previous commit and add usage comment - recipes - various coo…
git clone git://src.adamsgaard.dk/recipes
Log
Files
Refs
---
commit 8baa5c074bf2dcda952e78ec7ea49ac0e851ccfa
parent 586bc81c8753a0c6faa0d2c7e64e69064f65fa6c
Author: Anders Damsgaard <[email protected]>
Date: Thu, 26 Aug 2021 21:17:47 +0200
cookwhat: revert previous commit and add usage comment
Diffstat:
M cookwhat | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/cookwhat b/cookwhat
t@@ -1,5 +1,7 @@
#!/bin/sh
-cmd="find . -type f"
+# Pass a series of ingredients as arguments to this script, and it
+# will print all files that contain them.
+cmd="find . -iname '*.md' -type f"
i=0
for a in "$@"; do
i=$((i + 1))
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.