On Wed, May 12, 1999 at 08:59:17AM -0400, David Thorburn-Gundlach wrote:
> % #!/bin/sh
> % echo j>>$HOME/.jay
> % cat $HOME/.jay| tr -d \\012
> 
> Couldn't you simply 
> 
>   #!/bin/sh
>   echo -n j >> $HOME/.jay
> 
> and be done with it?

no,  mutt needs an \n at the end. And If i start playing around wirth a
script, I figured I can make it at least a bit robust so it doesn't fail
if someone clears ~/.jay with "echo >~/.jay"

:-)

CU,
    Sec
-- 
Treat your password like your toothbrush. Don't let anybody else use it,
and get a new one every six months.  --Clifford Stoll

PGP signature

Reply via email to