Convert grocery list to an .org file
Ensure that the export.hs script refers to the .org file.
This commit is contained in:
parent
ee1aeee5f8
commit
011f7aeaec
2 changed files with 15 additions and 18 deletions
|
@ -6,6 +6,6 @@ import qualified Data.List as L
|
||||||
-- | Run this to export the grocery list.
|
-- | Run this to export the grocery list.
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
main = do
|
main = do
|
||||||
x <- readFile "./list.txt"
|
x <- readFile "./list.org"
|
||||||
x & lines & filter (not . L.isPrefixOf "- 0x") & unlines & putStrLn
|
x & lines & filter (not . L.isPrefixOf "- 0x") & unlines & putStrLn
|
||||||
pure ()
|
pure ()
|
||||||
|
|
|
@ -2,12 +2,11 @@
|
||||||
- 1x beer (6x)
|
- 1x beer (6x)
|
||||||
* Produce
|
* Produce
|
||||||
- 1x brocoli
|
- 1x brocoli
|
||||||
- 0x green beans
|
- 1x green beans
|
||||||
- 1x spagel (10x)
|
|
||||||
- 1x green asparagus
|
- 1x green asparagus
|
||||||
- 1x lettuce
|
- 1x lettuce
|
||||||
- 1x tomatoes
|
- 1x tomatoes
|
||||||
- 0x zucchini
|
- 1x zucchini
|
||||||
- 3x lemons (3x)
|
- 3x lemons (3x)
|
||||||
- 0x shallots (10x)
|
- 0x shallots (10x)
|
||||||
- 0x garlic
|
- 0x garlic
|
||||||
|
@ -15,21 +14,21 @@
|
||||||
- 0x basil plant
|
- 0x basil plant
|
||||||
* Pasta
|
* Pasta
|
||||||
- 0x linguini pasta
|
- 0x linguini pasta
|
||||||
- 4x tortellini / ravioli
|
- 3x tortellini / ravioli
|
||||||
- 0x tomato sauce
|
- 1x tomato sauce
|
||||||
- 0x pesto
|
- 0x pesto
|
||||||
* Oil
|
* Oil
|
||||||
- 0x olive oil
|
- 0x olive oil
|
||||||
- 0x coconut oil
|
- 1x coconut oil
|
||||||
* Condiments
|
* Condiments
|
||||||
- 0x Tabasco
|
- 1x Tabasco
|
||||||
- 0x senf
|
- 0x senf
|
||||||
- 0x ketchup
|
- 0x ketchup
|
||||||
* Nuts
|
* Nuts
|
||||||
- 2x almonds
|
- 2x almonds
|
||||||
- 0x walnuts
|
- 0x walnuts
|
||||||
* Bread
|
* Bread
|
||||||
- 0x GF bread
|
- 1x GF bread
|
||||||
- 0x flour
|
- 0x flour
|
||||||
* Sugar
|
* Sugar
|
||||||
- 1x Lindt chocolate
|
- 1x Lindt chocolate
|
||||||
|
@ -42,21 +41,19 @@
|
||||||
- 2x gouda
|
- 2x gouda
|
||||||
- 1x mystery cheese
|
- 1x mystery cheese
|
||||||
* Meat
|
* Meat
|
||||||
- 0x ham for asparagus
|
- 0x fleischwurst
|
||||||
- 1x fleischwurst
|
- 0x bacon bits
|
||||||
- 1x bacon bits
|
|
||||||
- 0x jar Weiner Wurstel
|
- 0x jar Weiner Wurstel
|
||||||
- 1x bratwurst (4x)
|
- 1x bratwurst (4x)
|
||||||
* Wine
|
* Wine
|
||||||
- 0x red wine
|
- 0x red wine
|
||||||
- 2x white wine
|
- 2x white wine
|
||||||
* Miscellaneous
|
* Miscellaneous
|
||||||
- 0x hollandaise sauce
|
|
||||||
- 0x coffee
|
- 0x coffee
|
||||||
- 0x coffee filters
|
- 0x coffee filters
|
||||||
- 1x bug spray
|
- 0x bug spray
|
||||||
- 1x 30 SPF sun screen
|
- 1x 30 SPF sun screen
|
||||||
- 1x tiki torch
|
- 0x tiki torch
|
||||||
- 1x dish soap
|
- 0x dish soap
|
||||||
- 1x paper towels (6x)
|
- 0x paper towels (6x)
|
||||||
- 1x Brita
|
- 0x Brita
|
||||||
|
|
Loading…
Reference in a new issue