tcookwhat: revert previous commit and add usage comment - recipes - various cooking recipes
git clone git://src.adamsgaard.dk/recipes
Log
Files
Refs
---
commit 8baa5c074bf2dcda952e78ec7ea49ac0e851ccfa
parent 586bc81c8753a0c6faa0d2c7e64e69064f65fa6c
Author: Anders Damsgaard 
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))