[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LYNX-DEV converting Pine addressbook to html
From: |
Jim Spath (Webmaster Jim) |
Subject: |
LYNX-DEV converting Pine addressbook to html |
Date: |
Fri, 21 Feb 1997 06:09:32 -0500 (EST) |
Now that Lynx has more bookmark files and some more email flexibility,
I decided to have my "e" bookmark be a page for mailing addresses.
Here's a little script I threw (up) for reading the standard Pine
addressbook and putting into a quick html page for Lynx to use:
--cut--
#!/bin/sh
# pine2lynx - read pine address book, write lynx "e" bookmark page
echo "<ul>" >e.html
/opt/gnu/bin/gawk \
--field-separator='\t' \
'{printf "<li><a href=\"mailto:%s\">%s</a> %s\n", $3, $1, $2}' \
<${HOME}/.addressbook \
| sort -f +2 >>e.html
echo "</ul>" >>e.html
--cut--
Note that my gawk is in a non-standard place. I'm not sure how to tell
"old" awk to only use tabs as field separators.
------
<http://www.cs.indiana.edu/picons/db/users/us/md/lib/bcpl/jspath/face.xbm>
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;
- LYNX-DEV converting Pine addressbook to html,
Jim Spath (Webmaster Jim) <=
- Re: LYNX-DEV converting Pine addressbook to html, Larry W. Virden, x2487, 1997/02/21
- Re: LYNX-DEV converting Pine addressbook to html - Why not add..., Tom Zerucha, 1997/02/22
- Re: LYNX-DEV converting Pine addressbook to html - Why not add..., Jim Spath (Webmaster Jim), 1997/02/23
- Re: LYNX-DEV converting Pine addressbook to html - Why not add..., Tom Zerucha, 1997/02/23
- LYNX-DEV External filters (was: converting Pine addressbook to html), Klaus Weide, 1997/02/24
- Re: LYNX-DEV External filters, root, 1997/02/25
- Re: LYNX-DEV External filters (was: converting Pine addressbook to html), Jim Spath (Webmaster Jim), 1997/02/25
- Re: LYNX-DEV External filters (was: converting Pine addressbook to html), Klaus Weide, 1997/02/25
- LYNX-DEV lynx.browser.org unreachable., Wayne Buttles, 1997/02/26
- Re: LYNX-DEV lynx.browser.org unreachable., Wayne Buttles, 1997/02/26