dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit a9cb3ee319835dae4152c1daf28406f6360c045e
parent 3144f3aa9ef5777d1a0e3b9f9cdf35dc39cd5716
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri, 26 Jun 2020 05:58:49 +0200

Fix output format

Diffstat:
M.local/bin/memeadd | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.local/bin/memeadd b/.local/bin/memeadd @@ -1,7 +1,7 @@ #!/bin/sh set -e -out="${HOME}/tmp/meMEmeME.meme" +out="${HOME}/tmp/me.meme" if [ "$1" = "-h" ]; then printf 'usage: %s <file>\n' "${0##*/}" >&2 @@ -23,5 +23,5 @@ for f in "$urls"; do n="$(basename "$f")" tag="#${n%.*}" url="$(upload -o -p "$f")" - printf '%s %s %s\n' "$tag" "$url" >> "$out" + printf '%s %s\n' "$tag" "$url" >> "$out" done