On 13 May 2012, at 06:57, Paul Colquhoun wrote:
…
You can set LESSIGNORE='*.htm*'. This environment variable is used by
the lesspipe command, which is invoked by less and filters the input
file before giving it to less itself.
…
I have here now:
$ env | grep -i less
Stroller writes:
I want to view the html source of a webpage.
When I run `less file.html` the rendered webpage is shown, not the
source. It is as if lynx had been invoked, rather than less.
`more file.html` and `most file.html` both work fine, but this is
annoying - it takes an effort
On 12 May 2012, at 22:49, Alex Schuster wrote:
...
I want to view the html source of a webpage.
When I run `less file.html` the rendered webpage is shown, not the
source. It is as if lynx had been invoked, rather than less.
...
How do I disable less from parsing html source, please?
On 12 May 2012, at 23:39, Stroller wrote:
On 12 May 2012, at 22:49, Alex Schuster wrote:
...
I want to view the html source of a webpage.
When I run `less file.html` the rendered webpage is shown, not the
source. It is as if lynx had been invoked, rather than less.
...
How do I
On 12 May 2012, at 22:50, Canek Peláez Valdés wrote:
...
Another one; unset LESSOPEN:
LESSOPEN= file.html
That's great! Thanks!
Searching the manpage for lessopen I find that I can use this shortcut
instead:
less -L file.html
Stroller.
On 12 May 2012, at 22:49, Alex Schuster wrote:
…
I want to view the html source of a webpage.
When I run `less file.html` the rendered webpage is shown, not the
source. It is as if lynx had been invoked, rather than less.
...
How do I disable less from parsing html source, please?
Stroller writes:
On 12 May 2012, at 22:49, Alex Schuster wrote:
[...]
How do I disable less from parsing html source, please?
You can set LESSIGNORE='*.htm*'. This environment variable is used by
the lesspipe command, which is invoked by less and filters the input
file before giving
On 13 May 2012, at 00:22, Alex Schuster wrote:
…
You can set LESSIGNORE='*.htm*'. This environment variable is used by
the lesspipe command, which is invoked by less and filters the input
file before giving it to less itself.
Contrary to my previous email, sent in error, that does NOT
On Sun, 13 May 2012 05:12:59 Stroller wrote:
On 13 May 2012, at 00:22, Alex Schuster wrote:
…
You can set LESSIGNORE='*.htm*'. This environment variable is used by
the lesspipe command, which is invoked by less and filters the input
file before giving it to less itself.
Contrary
9 matches
Mail list logo