Bug#393793: col.1.gz: carriage return discussion

View: New views
5 Messages — Rating Filter:   Alert me  

Bug#393793: col.1.gz: carriage return discussion

by jidanni :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Package: bsdmainutils
Version: 6.1.4
Severity: minor
File: /usr/share/man/man1/col.1.gz

Actually col removes carriage returns, in contrast to the man page.
$ echo -e bla\\r\ |od -c
0000000   b   l   a  \r      \n
0000006
$ echo -e bla\\r\ |col|od -c
0000000   b   l   a  \n
0000004
So mention it on the man page.


--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#393793: col.1.gz: carriage return discussion

by Michael Meskes :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

On Wed, Oct 18, 2006 at 01:28:15AM +0800, Dan Jacobson wrote:
> Actually col removes carriage returns, in contrast to the man page.

Could you please tell me where in the manpage it is said that carriage returns
are not removed? Has this been changed already or am I just to stupid to see it
in col(1)?

Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ: 179140304, AIM/Yahoo/Skype: michaelmeskes, Jabber: meskes@...
Go VfL Borussia! Forca Barca! Go SF 49ers! Use: Debian GNU/Linux, PostgreSQL



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#393793: col.1.gz: carriage return discussion

by jidanni :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

MM> Could you please tell me where in the manpage it is said that carriage returns
MM> are not removed? Has this been changed already or am I just to stupid to see it
MM> in col(1)?

I swear that if you have a lawyer read that man page,
(BSD June 29, 1993 BSD), sid.
though it mentions carriage returns, it doesn't say it removes them.



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#393793: col.1.gz: carriage return discussion

by Michael Meskes :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

On Wed, Nov 04, 2009 at 11:16:05PM +0800, jidanni@... wrote:
> I swear that if you have a lawyer read that man page,
> (BSD June 29, 1993 BSD), sid.
> though it mentions carriage returns, it doesn't say it removes them.

But it does say that it "filters out reverse (and half reverse) line feeds" and
a CR is a reverse line feed, isn't it?

Michael

--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ: 179140304, AIM/Yahoo/Skype: michaelmeskes, Jabber: meskes@...
VfL Borussia! Forca Barca! Go SF 49ers! Use: Debian GNU/Linux, PostgreSQL



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#393793: col.1.gz: carriage return discussion

by jidanni :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

>>>>> "MM" == Michael Meskes <meskes@...> writes:
MM> On Wed, Nov 04, 2009 at 11:16:05PM +0800, jidanni@... wrote:
>> I swear that if you have a lawyer read that man page,
>> (BSD June 29, 1993 BSD), sid.
>> though it mentions carriage returns, it doesn't say it removes them.

MM> But it does say that it "filters out reverse (and half reverse) line feeds" and
MM> a CR is a reverse line feed, isn't it?

Well, maybe it is. I'm not sure. However the man page would be clearer
if it just listed exactly which bytes it filters right there at the top
of the page.



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...