home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 657 
 Maurice Kinal to Bjørn Toulouse 
 almost ready 
 29 Jan 24 02:19:40 
 
MSGID: 1:153/7001.53423 65b70b3c
CHRS: UTF-8 4
TZUTC: -0000
Hey Bjørn!

PKT_DATETIME=$(date +"%Y %-m %-d %-H %-M %-S" | awk 'BEGIN { OFS = "," }
{print $1, $2-1, $3, $4, $5, $6}')

The above takes care of the 0-11 month output required as per the localtime()
function as well as ensures they are integers rather than strings.  The
resulting datetime stamp vector just needs to be converted to 16-bit little
endian binary as per ftn specs for that portion of the pkt_header.

Piece of cake although complete elimination of the pkt datetime would be best.

Life is good,
Maurice

-o    o-  -o    o-   o-   o-   o-   o-   o-   o-   o-   o-   o-  -o   -o   -o
 (\  /)    (\  /)   /)   /)   /)   /)   /)   /)   /)   /)   /)    (\   (\   (\
 ^^  ^^    ^^  ^^   ^^   ^^   ^^   ^^   ^^   ^^   ^^   ^^   ^^    ^^   ^^   ^^
... A Møøse once bit my sister ...
--- GNU bash, version 5.2.21(1)-release (x86_64-pc-linux-gnu)
 * Origin: One of us @ (1:153/7001.53423)
SEEN-BY: 10/0 1 15/0 90/1 103/705 105/81 106/201 124/5016 128/260
SEEN-BY: 134/100 135/225 153/135 143 757 802 7001 7715 154/10 30 203/0
SEEN-BY: 214/22 218/0 1 601 700 820 840 850 860 870 880 930 221/0
SEEN-BY: 221/6 226/30 227/114 229/110 112 113 206 307 317 400 426
SEEN-BY: 229/428 470 664 700 240/1120 5832 266/512 280/464 5003 282/1038
SEEN-BY: 291/111 292/8125 301/1 310/31 320/219 322/757 341/66 234
SEEN-BY: 342/200 396/45 460/58 467/888 633/280 712/848 770/1 3634/12
SEEN-BY: 5020/400 5075/35
PATH: 153/7001 757 280/464 103/705 218/700 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca