diff options
author | elioat <elioat@tilde.institute> | 2023-02-17 19:45:48 -0500 |
---|---|---|
committer | elioat <elioat@tilde.institute> | 2023-02-17 19:45:48 -0500 |
commit | effb667f6e52a661f6d766fe25c1711aab0949d7 (patch) | |
tree | 267aef0141ba0ac928901a6e23d14124591ca152 /bash/moon-maker | |
parent | 5e250cb95bb5b89f3af612a919d2445631b51fab (diff) | |
download | tour-effb667f6e52a661f6d766fe25c1711aab0949d7.tar.gz |
*
Diffstat (limited to 'bash/moon-maker')
-rwxr-xr-x | bash/moon-maker/mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bash/moon-maker/mm b/bash/moon-maker/mm index ee66c5e..35db6c2 100755 --- a/bash/moon-maker/mm +++ b/bash/moon-maker/mm @@ -50,7 +50,8 @@ elif [[ "${1-}" =~ ^-*a(dd)?$ ]]; then else FILE_TYPE="txt" # if you don't provide a file type, assume .txt for the new moon fi - echo "$2"."$SHORT_RAND"."$FILE_TYPE" + NEW_MOON="$2"."$SHORT_RAND"."$FILE_TYPE" + echo "$NEW_MOON" exit elif [[ "${1-}" =~ ^-*d(elete)?$ ]]; then echo "delete" |