On Thu, Apr 04, 2002 at 02:12:28PM -0800, Mike Warner wrote: > On or about 04 Apr, 2002, David Combs > <[EMAIL PROTECTED]> wrote: > > > I want to add an "append to file" choice to that print-menu. > > > > Can someone give me a "cookbook" solution? > > Define the options in lynx.cfg > > PRINTER appends rendered page, DOWNLOADER appends source. > > PRINTER:append to a file:cat %s >> %s:TRUE > DOWNLOADER:append to a file:cat %s >> %s:TRUE > > The first "%s" is the source (lynx takes care of this one), the > second "%s" prompts for a file name to append to. ">>" > redirection appends if the target file exists, otherwise writes a > new file. A single ">" redirection would overwrite always. > > Minimal testing done, so try it out on non-critical files to make > sure it works for you. > > NOTE: This is a *nix-ish solution (cygwin in my case); for win32, > etc, you'll have to seek elsewhere :). >
(my much delayed reading of email) THANKS SO MUCH! (IDEA: could someone just stuff this how-to into some user-available documentation? Pretty valuable stuff.) Thanks again David ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]
