You are not logged in.

#1 2019-11-01 14:55:13

zoltix
Member
Registered: 2019-09-06
Posts: 22

issue with "man lsof | col -b > test"

Hi,
    I have a strange issue when I tried this command

 man lsof | col -b  > test
man: can't open ./00DIALECTS: No such file or directory
man: -:77: warning: failed .so request
troff: <standard input>:77: can't open './00DIALECTS': No such file or directory
 

Do you have the same issue ?  Is it a bug ? or I have an issue with laptop?

Thanks

Offline

#2 2019-11-01 16:25:07

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,701

Re: issue with "man lsof | col -b > test"

Okay, that is weird.
I even tried abusing the cat:

man lsof | col  -b | cat > test

Same thing. 

But man lsof | col -b works
So does man ls | col  -b > test

O_o

Last edited by ewaller (2019-11-01 16:25:32)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2019-11-01 16:35:28

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,702
Website

Re: issue with "man lsof | col -b > test"

Even man lsof > test fails. This seems to be a man issue. Line 77 of the man page of lsof contais the descriptions for the -? and -h parameters. The line starts with white space and then comes a dash, which man complains about. Looks like the - is treated as a control character here. Might be an arbitrary code execution bug you've found there.

Last edited by schard (2019-11-01 16:40:55)


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

Board footer

Powered by FluxBB