forked from adolfopa/miscutils
Adolfo Perez Alvarez
7dcf64ef11
newp is a dump shortcut that will create a new ms article. ts is a tool similar to cram or tush.
6 lines
203 B
Bash
Executable File
6 lines
203 B
Bash
Executable File
#!/bin/sh
|
|
[ $# -eq 0 ] && echo '?' && exit 1
|
|
fname=$(date +%Y%m%d)-$(echo $* | tr 'A-Z\t ' a-z- | tr -s -).ms
|
|
printf ".TL\n%s\n.AU\nadolfopa@{sdf,sdfeu,twenex}.org\n\n" "$*" >$fname
|
|
${EDITOR:-ed} $fname
|