delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/07/08/11:47:51

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=eHXMMfdg5Ltt8G9fSLN7azHSMPcvj
Xyo4TpnGPWjHAxABD6kDLqfeecvWL+FhDjZwwhDdBBW5ByXFSfP2AIDRGE8J3apr
CB1e8jD375wuY4nBPH9DOrKIwSz25EX+PMmm8/CjAcSkt8S72hx5kw0a6tvwR897
sF+C7VVmRAWYVU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; s=default; bh=JVPGHwcLhg6x+dx4yvmvKSaRsTo=; b=qyY
O4oZGnYS88iE0lNUtX4X1kePewkk4zOpbw2B6Dz5dAlfDlqiVFhDD9TQCKQsQRMN
dqNeBiYZTdsVLMCgb7kdQyNCz1jhSb/8Jw3AqUTX8iNG7kdVvt9jnTNu3lpYQk3Q
m0CE2pCWsE0vmX3m9PVSMSdbEoMDjaauA6Q42Luc=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-qc0-f195.google.com
X-Received: by 10.224.51.18 with SMTP id b18mr62317538qag.81.1404834449802; Tue, 08 Jul 2014 08:47:29 -0700 (PDT)
MIME-Version: 1.0
From: Jack Duthen <jduthen DOT 01 AT gmail DOT com>
Date: Tue, 8 Jul 2014 17:47:09 +0200
Message-ID: <CAJqfdW6bCQ4PLnSO2o6a1gd-veLogad9he9TcddZzk9sw8Jr-w@mail.gmail.com>
Subject: Shouldn't 'man' depend on 'col'? Shouldn't 'col' be easier to find?
To: cygwin <cygwin AT cygwin DOT com>

Problem #1:
----------
After I loaded a few cygwin packages, I got this:

$ man bash | wc
man: can't execute col: No such file or directory

The "man" command works perfectly when the stdout is NOT redirected,
but, when sent to a pipe or a file, the command "man" fails with the
above message.

Question #1:
Shouldn't the 'man' function/package depend on the 'col' function/package?

Problem #2
----------
To solve my 'man' problem,I tried to find the 'col' command.

I launched the standard interface (setup.exe) and entered 'col' in the
'Search' text field.

It gave me a list of packages, mainly related to 'colamd', 'colorgc',
'protocol' stuff, 'colored' stuff, 'texlive-collection' stuff,
'colordiff'...

but no clear link to the missing 'col.exe'.

I tried to put 'col[^A-Za-z]' in the 'Search' text field but it gave nothing.

Question #2:
Shouldn't the 'col.exe' function/package be referenced in some (clear) package?

Problem #3
----------
I googled it and found:
"Cannot locate col command in any current packages" at
https://cygwin.com/ml/cygwin/2002-04/msg00414.html

whose answer was (in 2002):

"Use this link to find out: http://www.cygwin.com/packages/"

So I went there, tried to search for 'col', found more than 1000
answers... useless...

Then I searched for '[^A-Za-z]col[^A-Za-z]' and  found 17 matches for
[^A-Za-z0-9_]col[^A-Za-z0-9_], mainly emacs stuff, glpk stuff,
singular-base stuff, texlive-collection stuff and...
the winner is: 'util-linux-2.21-1 - Random collection of Linux
utilities' which contains '/usr/bin/col.exe' among 178 lines.

Question #3
To get a 'man' that works when piped, is there a better way than
loading this "random" collection of utilities?

Am I the only one to get that problem???


)jack(

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019