diff options
author | William Carroll <wpcarro@gmail.com> | 2020-07-01T09·45+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-07-01T09·45+0100 |
commit | 011f7aeaecd716cb2cb94b7fa0d19be86d81cf0a (patch) | |
tree | af4b68ab1d1876050023bd70d45c0cdca46d29f9 | |
parent | ee1aeee5f8536c35fb9f1580174facd33698ad50 (diff) |
Convert grocery list to an .org file
Ensure that the export.hs script refers to the .org file.
-rw-r--r-- | scratch/groceries/export.hs | 2 | ||||
-rw-r--r-- | scratch/groceries/list.org | 31 |
2 files changed, 15 insertions, 18 deletions
diff --git a/scratch/groceries/export.hs b/scratch/groceries/export.hs index 5e2cce2237ee..c76033391d02 100644 --- a/scratch/groceries/export.hs +++ b/scratch/groceries/export.hs @@ -6,6 +6,6 @@ import qualified Data.List as L -- | Run this to export the grocery list. main :: IO () main = do - x <- readFile "./list.txt" + x <- readFile "./list.org" x & lines & filter (not . L.isPrefixOf "- 0x") & unlines & putStrLn pure () diff --git a/scratch/groceries/list.org b/scratch/groceries/list.org index 7165edd09903..6f408b8cc481 100644 --- a/scratch/groceries/list.org +++ b/scratch/groceries/list.org @@ -2,12 +2,11 @@ - 1x beer (6x) * Produce - 1x brocoli -- 0x green beans -- 1x spagel (10x) +- 1x green beans - 1x green asparagus - 1x lettuce - 1x tomatoes -- 0x zucchini +- 1x zucchini - 3x lemons (3x) - 0x shallots (10x) - 0x garlic @@ -15,21 +14,21 @@ - 0x basil plant * Pasta - 0x linguini pasta -- 4x tortellini / ravioli -- 0x tomato sauce +- 3x tortellini / ravioli +- 1x tomato sauce - 0x pesto * Oil - 0x olive oil -- 0x coconut oil +- 1x coconut oil * Condiments -- 0x Tabasco +- 1x Tabasco - 0x senf - 0x ketchup * Nuts - 2x almonds - 0x walnuts * Bread -- 0x GF bread +- 1x GF bread - 0x flour * Sugar - 1x Lindt chocolate @@ -42,21 +41,19 @@ - 2x gouda - 1x mystery cheese * Meat -- 0x ham for asparagus -- 1x fleischwurst -- 1x bacon bits +- 0x fleischwurst +- 0x bacon bits - 0x jar Weiner Wurstel - 1x bratwurst (4x) * Wine - 0x red wine - 2x white wine * Miscellaneous -- 0x hollandaise sauce - 0x coffee - 0x coffee filters -- 1x bug spray +- 0x bug spray - 1x 30 SPF sun screen -- 1x tiki torch -- 1x dish soap -- 1x paper towels (6x) -- 1x Brita +- 0x tiki torch +- 0x dish soap +- 0x paper towels (6x) +- 0x Brita |