Introduction
Introduction Statistics Contact Development Disclaimer Help
tadd script to show recipes containing list of ingredients - recipes - various …
git clone git://src.adamsgaard.dk/recipes
Log
Files
Refs
---
commit fe0fb9ec43255fe98aabb2ca9742a795de30a11b
parent 6eb5585ddbf08c2850def9f7829be3840c508a2d
Author: Anders Damsgaard <[email protected]>
Date: Thu, 26 Aug 2021 19:39:04 +0200
add script to show recipes containing list of ingredients
Diffstat:
A cookwhat | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/cookwhat b/cookwhat
t@@ -0,0 +1,3 @@
+#!/bin/sh
+awksrc="$(printf '/%s/ { print FILENAME }' "$@" | sed 's#,#/\&\&/#g')"
+awk -v RS="." "${awksrc}" *.md | sort | uniq
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.