Introduction
Introduction Statistics Contact Development Disclaimer Help
tcookwhat: include txt recipes - recipes - various cooking recipes
git clone git://src.adamsgaard.dk/recipes
Log
Files
Refs
Submodules
---
commit b413b99b925409c4267de9f0f49fc4a205e27a2e
parent 02897467a7dd3975fbbc5c1625e09621d0969268
Author: Anders Damsgaard <[email protected]>
Date: Sat, 12 Oct 2024 08:53:47 +0200
cookwhat: include txt recipes
Diffstat:
M cookwhat | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/cookwhat b/cookwhat
t@@ -1,7 +1,7 @@
#!/bin/sh
# 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"
+cmd="find . \( -name '*.md' -o -name '*.txt' \) -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.