Introduction
Introduction Statistics Contact Development Disclaimer Help
tcookwhatveg: include txt recipes - recipes - various cooking recipes
git clone git://src.adamsgaard.dk/recipes
Log
Files
Refs
Submodules
---
commit db9fce4504b051b90fe13d4c0fa4840a53125143
parent b413b99b925409c4267de9f0f49fc4a205e27a2e
Author: Anders Damsgaard <[email protected]>
Date: Sat, 12 Oct 2024 08:53:51 +0200
cookwhatveg: include txt recipes
Diffstat:
M cookwhatveg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/cookwhatveg b/cookwhatveg
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.