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