[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Getting Web pages with UNIX (was: WWW browser for gs.os?????)
- Subject: Getting Web pages with UNIX (was: WWW browser for gs.os?????)
- From: geoff@seeker.hermesnet.net (Geoff Weiss)
- Date: 1997/05/04
- Followup-to: comp.sys.apple2.programmer
- Newsgroups: comp.sys.apple2
- Organization: Hermes Internet Service, Inc., Washington, DC
- References: <5k66m8$3d9@rock101.genie.net> <5k6ebd$3e1$10@news.vanderbilt.edu> <5k962t$lro@clarknet.clark.net> <5ke8sd$94b$4@news.vanderbilt.edu>
In article <5ke8sd$94b$4@news.vanderbilt.edu>,
>Reread it.
[code snipped]
># LOOK RIGHT HERE, GEOFF
># THIS IS THE PART, GEOFF
>
># This part is only necessary if the output was bin (e.g. jpg)...
>set preprelen=`wc -l /tmp/telnet.file`
>set prelen=$preprelen[1]
>set len=`expr $prelen - 3`
>tail -$len /tmp/telnet.file | uuencode telnet.file > /tmp/telnet.uue
>
># DON'T FORGET TO LOOK RIGHT ABOVE HERE, GEOFF
[more code snipped]
I have no problems with this bit of code at all. I'm just claiming
that there enough bugs in other parts of the code where it 1) won't
work for everybody and 2) won't work with binary pictures such as jpegs
and gifs (HINT: remember that $FF is a null character).
I have sent follow ups to comp.sys.apple2.programmer which is a slightly
more relevant newsgroup for this type of discussion.
Geoff
--
-------------------------------------------------------------------------------
e-mail: geoff@hermesnet.net System Administrator for Hermes Internet Service
WWW: <a href=http://www.hermesnet.net/~geoff>Geoff's Home Page</a>
The report of my death was greatly exaggerated. -- Mark Twain