On 02/25/2021 06:49 AM, The Wanderer wrote:
On 2021-02-25 at 07:41, Richard Owlett wrote:

Darac's answer to answer to a previous question led me to try

https://html.duckduckgo.com/html?q=%2Bintitle%3Afaq%20site%3Adebian.org
which gave me the content I needed, but not in a convenient format.

I would like to pipe search results to a text processor.
Synaptic led me to "surfraw" and "w3m".
Documentation for "w3m" was more use user friendly, so I installed it.

Following a man page example I got:

richard@defaultinstall:~$ $ w3m -M http://w3m.sourceforge.net
bash: $: command not found

You don't need to include the '$ ' at the start of the command.

When someone presents a command in the form

$ command --options arguments /path/to/filename

or

# command --options arguments /path/to/filename

the $ or # represents the shell prompt; a shell prompt ending in '$'
typically represents a command being run as an ordinary user, and a
shell prompt ending in '#' typically represents one being run as the
root user. The reason for including these is so that when one is
presenting both commands and command output, it's clear at a glance
which lines are commands and which are not.

Strip those parts out of your command, and see what you get.


*DUH*  {With 'egg on face' ;{
Can I blame it on a caffeine free diet ;/
Thank you.



Reply via email to