aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-06-22 10:50:49 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-06-22 10:50:49 +0100
commit83bd834dab150fced87fb83db1de7bb1bfd283bd (patch)
tree94941ce3901e8b77eb79baaee9c0519a0186fa11
parent10889a700ccead3552a598645ae267bff32ba72a (diff)
added print line to openbsd version
-rwxr-xr-xlem_openbsd3
1 files changed, 2 insertions, 1 deletions
diff --git a/lem_openbsd b/lem_openbsd
index 1eb7e92..66ab679 100755
--- a/lem_openbsd
+++ b/lem_openbsd
@@ -16,6 +16,7 @@ fi
STAMP="$(date +%G%m%d%H%M%S)"
F_PATH="$TARGET_DIR/$STAMP-$msg.md"
-echo $F_PATH
+
+printf "# %s", "$msg" >> "$F_PATH"
$VIM "$F_PATH"