command to add translations to 30sec markdown file
This commit is contained in:
parent
02ec3e055e
commit
01aecb888e
4
add_to_file.sh
Normal file
4
add_to_file.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
#$PG -t -A -c "SELECT '## 2023-03-31' UNION ALL SELECT ' - ' ||(message->>'text') from rlarp.thirtysec where mdate >= '2023-03-31'" | fold -s -w 80 | sed -E 's/^([^ -])/ \1/;s/^(-{1,2} )/ \1/;s/^/ /'
|
||||
|
||||
$PG -t -A -c "SELECT '## 2023-04-06' UNION ALL SELECT '- ' ||mdate||' [[]] '||(message->>'text') from rlarp.thirtysec where mdate >= '2023-04-06'" >> /mnt/c/Users/PTrowbridge/hc_notes/30sec.md
|
Loading…
Reference in New Issue
Block a user