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.
|
||||
main :: IO ()
|
||||
main = do
|
||||
x <- readFile "./list.txt"
|
||||
x <- readFile "./list.org"
|
||||
x & lines & filter (not . L.isPrefixOf "- 0x") & unlines & putStrLn
|
||||
pure ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue