how to save text???
Ray Ghanbari
ray at mayo.EDU
Fri Jun 16 07:16:02 PDT 1995
> Actually, there is another way to save ascii text from
> any application (that I have tried) on NeXT; I tried on
> OmniWeb this morning and it works there too. Copy the
> text from the application window using command-c; now
> open a Terminal window (using Terminal.app), then do the
> following at the prompt:
>
> % cat > file_to_dump_to
>
> Now do command-v to paste followed by control-C to get
> your prompt back.
>
> Whatever is copied is now saved to the file:
> file_to_dump_to
>
> This gives you a cleaner ascii text (without all the html
> marker).
Try the following:
% paste > file_to_dump_to
Here is part of the man page
% man paste
COPY(1) UNIX Programmer's Manual COPY(1)
NAME
copy, paste - provide copying and pasting from command line
SYNOPSIS
/usr/bin/copy
/usr/bin/paste [ -Prefer {ascii | rtf | ps} ]
DESCRIPTION
copy takes the standard input and places it in the
NEXTSTEP(tm) pasteboard [....]
I use copy and paste from the command line all the time. _Very_ useful.
---
Ray Ghanbari
Mayo Foundation
ray at mayo.edu
More information about the OmniWeb-l
mailing list