noxz-sitesA collection of a builder and various scripts creating the noxz.tech sites |
|
git clone https://noxz.tech/git/noxz-sites.git | |
Log | Files | README | LICENSE |
1#!/bin/sh 2 3scrpath="$(cd "$(dirname "$0")"; pwd)" 4 5msg="$(printf '%s\t%s\n' $(date +%Y-%m-%dT%H:%M:%S%:z) "$1")" 6 7printf "Send this message (y/N)?\n> %s\n" "$msg" 8 9read answer && [ "$answer" = "${answer#[Yy]}" ] && return 10 11echo "$msg" >> "$scrpath/noxz.tech/twtxt.txt"