SMOLNET PORTAL home about changes
tcookwhat: revert previous commit and add usage comment - recipes - various cooking recipes
(URL) git clone git://src.adamsgaard.dk/recipes (git://src.adamsgaard.dk)
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 8baa5c074bf2dcda952e78ec7ea49ac0e851ccfa
(DIR) parent 586bc81c8753a0c6faa0d2c7e64e69064f65fa6c
(URL) Author: Anders Damsgaard <anders@adamsgaard.dk> (mailto://)
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(-)
---
(DIR) 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))
Response: application/gopher-menu
Original URLgopher://adamsgaard.dk/1/src/recipes/commit/8baa5c074bf2d...
Content-Typeapplication/gopher-menu; charset=utf-8