From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com
Subject: Re: Possible vim bug
Date: Tue, 8 Dec 2020 12:37:17 -0700 [thread overview]
Message-ID: <8edaae7e-828c-433c-fc3d-50536c837f46@SystematicSw.ab.ca> (raw)
In-Reply-To: <CADZZWXoHVFPh1D3kDh5u9-0d2B5RvrFSvtFndq5mhNV3DcCUoQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 4550 bytes --]
On 2020-12-08 12:04, Eric Connor via Cygwin wrote:
>> *$uname -srvmo*
>> CYGWIN_NT-10.0 3.0.5(0.338/5/3) 2019-03-31 11:17 x86_64 Cygwin
>> *$which column*
>> /usr/bin/column
>> *$cygcheck -f /usr/bin/column*
>> util-linux-2.33.1-2
>> *$cygcheck -c util-linux*
>> Cygwin Package Information
>> Package Version Status
>> util-linux 2.33.1-2 OK
>> *$which vim*
>> /usr/bin/vim
>> *$cygcheck -c vim*
>> Cygwin Package Information
>> Package Version Status
>> vim 8.2.0486-1 OK
> I'm not at liberty to share my path, due to the sensitivity of my position,
> but it *does *include /usr/bin, and it's the second entry in the value.
What is the first entry and where does it point?
> *$vim +'echo $PATH' *
> Properly imports the path into vim :)
> *$vim +'!which column'*
> Properly imports the path to column: /usr/bin/column
>
> *ls -lrt /var/log/setup.log*|awk -F ' ' '{print $6, $7, $8, $NF}'*May 26
> 2020 /var/log/setup.log.runXa27444
> Dec 7 13:43 /var/log/setup.log
> Dec 7 13:43 /var/log/setup.log.full
$ ls -glort
will skip the ids.
> Note: As I indicated earlier, I have been able to go back previous versions
> (with no success), and subsequently was able to run the update and bring
> the version back to current.
>
> One good data example is the following, which I'd be curious if anyone else
> is able to sort using *:%!column -t*
>
> *On my local machine (v.8.2.0486-1)
> *
>
> Before -
>
> 1.33570301776, 3.61194e-06, 7.24503e-06, -9.91572e-06, 1.25098e-05,
> 0.0102828, 0.010352, 0.0102677, 0.0103789, 0.00161604, 0.00167978,
> 0.00159998, 0.00182596, 0.0019804, 0.0133687, 0.010329, 0.00163437,
> 0.00191202, 0.0134425
> 1.34538754675, 3.3689e-06, 9.86066e-06, -9.12075e-06, 1.18058e-05,
> 0.00334344, 0.00342207, 0.00332897, 0.00345504, 0.00165532,
> 0.00170412, 0.00164234, 0.00441903, 0.00459294, 0.00449357,
> 0.00339737, 0.00166596, 0.00451926, 0.00455153
> 1.34808186291, -1.99011e-06, 6.53026e-06, -1.18909e-05, 9.52337e-06,
> 0.00158065, 0.00166529, 0.0015657, 0.0017022, 0.000740644, 0.00078635,
> 0.000730052, 0.00219736, 0.00238191, 0.00212762, 0.00163783,
> 0.000750669, 0.00230171, 0.00217917
>
> After -
>
>
> *:%!column -t*shell returned 127
> 3 lines filtered
>
> *On one of my servers (v. 7.4)*
>
> Before -
>
> 1.33570301776, 3.61194e-06, 7.24503e-06, -9.91572e-06, 1.25098e-05,
> 0.0102828, 0.010352, 0.0102677, 0.0103789, 0.00161604, 0.00167978,
> 0.00159998, 0.00182596, 0.0019804, 0.0133687, 0.010329, 0.00163437,
> 0.00191202, 0.0134425
> 1.34538754675, 3.3689e-06, 9.86066e-06, -9.12075e-06, 1.18058e-05,
> 0.00334344, 0.00342207, 0.00332897, 0.00345504, 0.00165532,
> 0.00170412, 0.00164234, 0.00441903, 0.00459294, 0.00449357,
> 0.00339737, 0.00166596, 0.00451926, 0.00455153
> 1.34808186291, -1.99011e-06, 6.53026e-06, -1.18909e-05, 9.52337e-06,
> 0.00158065, 0.00166529, 0.0015657, 0.0017022, 0.000740644, 0.00078635,
> 0.000730052, 0.00219736, 0.00238191, 0.00212762, 0.00163783,
> 0.000750669, 0.00230171, 0.00217917
>
> After -
>
> 1.33570301776, 3.61194e-06, 7.24503e-06, -9.91572e-06,
> 1.25098e-05, 0.0102828, 0.010352, 0.0102677, 0.0103789,
> 0.00161604, 0.00167978, 0.00159998, 0.00182596, 0.0019804,
> 0.0133687, 0.010329, 0.00163437, 0.00191202, 0.0134425
> 1.34538754675, 3.3689e-06, 9.86066e-06, -9.12075e-06,
> 1.18058e-05, 0.00334344, 0.00342207, 0.00332897, 0.00345504,
> 0.00165532, 0.00170412, 0.00164234, 0.00441903, 0.00459294,
> 0.00449357, 0.00339737, 0.00166596, 0.00451926, 0.00455153
> 1.34808186291, -1.99011e-06, 6.53026e-06, -1.18909e-05,
> 9.52337e-06, 0.00158065, 0.00166529, 0.0015657, 0.0017022,
> 0.000740644, 0.00078635, 0.000730052, 0.00219736, 0.00238191,
> 0.00212762, 0.00163783, 0.000750669, 0.00230171, 0.00217917
Would be better if you attached your input, as it is unclear if this is meant to
be three or more lines: attached input and output for both.
Your problem is that column is not being executed from within vim.
What you type in vim should be ":%!column -t" in command mode.
You also need to check whether you have a vim command named column or only an
external executable:
$ vim +':echo exists(":column")'
0
$ vim +':echo executable("column")'
1
--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]
[-- Attachment #2: column-post.txt --]
[-- Type: text/plain, Size: 933 bytes --]
1.33570301776, 3.61194e-06, 7.24503e-06, -9.91572e-06, 1.25098e-05,
0.0102828, 0.010352, 0.0102677, 0.0103789, 0.00161604, 0.00167978,
0.00159998, 0.00182596, 0.0019804, 0.0133687, 0.010329, 0.00163437,
0.00191202, 0.0134425
1.34538754675, 3.3689e-06, 9.86066e-06, -9.12075e-06, 1.18058e-05,
0.00334344, 0.00342207, 0.00332897, 0.00345504, 0.00165532,
0.00170412, 0.00164234, 0.00441903, 0.00459294, 0.00449357,
0.00339737, 0.00166596, 0.00451926, 0.00455153
1.34808186291, -1.99011e-06, 6.53026e-06, -1.18909e-05, 9.52337e-06,
0.00158065, 0.00166529, 0.0015657, 0.0017022, 0.000740644, 0.00078635,
0.000730052, 0.00219736, 0.00238191, 0.00212762, 0.00163783,
0.000750669, 0.00230171, 0.00217917
[-- Attachment #3: column-pre.txt --]
[-- Type: text/plain, Size: 933 bytes --]
1.33570301776, 3.61194e-06, 7.24503e-06, -9.91572e-06, 1.25098e-05,
0.0102828, 0.010352, 0.0102677, 0.0103789, 0.00161604, 0.00167978,
0.00159998, 0.00182596, 0.0019804, 0.0133687, 0.010329, 0.00163437,
0.00191202, 0.0134425
1.34538754675, 3.3689e-06, 9.86066e-06, -9.12075e-06, 1.18058e-05,
0.00334344, 0.00342207, 0.00332897, 0.00345504, 0.00165532,
0.00170412, 0.00164234, 0.00441903, 0.00459294, 0.00449357,
0.00339737, 0.00166596, 0.00451926, 0.00455153
1.34808186291, -1.99011e-06, 6.53026e-06, -1.18909e-05, 9.52337e-06,
0.00158065, 0.00166529, 0.0015657, 0.0017022, 0.000740644, 0.00078635,
0.000730052, 0.00219736, 0.00238191, 0.00212762, 0.00163783,
0.000750669, 0.00230171, 0.00217917
[-- Attachment #4: column-post-3.txt --]
[-- Type: text/plain, Size: 770 bytes --]
1.33570301776, 3.61194e-06, 7.24503e-06, -9.91572e-06, 1.25098e-05, 0.0102828, 0.010352, 0.0102677, 0.0103789, 0.00161604, 0.00167978, 0.00159998, 0.00182596, 0.0019804, 0.0133687, 0.010329, 0.00163437, 0.00191202, 0.0134425
1.34538754675, 3.3689e-06, 9.86066e-06, -9.12075e-06, 1.18058e-05, 0.00334344, 0.00342207, 0.00332897, 0.00345504, 0.00165532, 0.00170412, 0.00164234, 0.00441903, 0.00459294, 0.00449357, 0.00339737, 0.00166596, 0.00451926, 0.00455153
1.34808186291, -1.99011e-06, 6.53026e-06, -1.18909e-05, 9.52337e-06, 0.00158065, 0.00166529, 0.0015657, 0.0017022, 0.000740644, 0.00078635, 0.000730052, 0.00219736, 0.00238191, 0.00212762, 0.00163783, 0.000750669, 0.00230171, 0.00217917
[-- Attachment #5: column-pre-3.txt --]
[-- Type: text/plain, Size: 770 bytes --]
1.33570301776, 3.61194e-06, 7.24503e-06, -9.91572e-06, 1.25098e-05, 0.0102828, 0.010352, 0.0102677, 0.0103789, 0.00161604, 0.00167978, 0.00159998, 0.00182596, 0.0019804, 0.0133687, 0.010329, 0.00163437, 0.00191202, 0.0134425
1.34538754675, 3.3689e-06, 9.86066e-06, -9.12075e-06, 1.18058e-05, 0.00334344, 0.00342207, 0.00332897, 0.00345504, 0.00165532, 0.00170412, 0.00164234, 0.00441903, 0.00459294, 0.00449357, 0.00339737, 0.00166596, 0.00451926, 0.00455153
1.34808186291, -1.99011e-06, 6.53026e-06, -1.18909e-05, 9.52337e-06, 0.00158065, 0.00166529, 0.0015657, 0.0017022, 0.000740644, 0.00078635, 0.000730052, 0.00219736, 0.00238191, 0.00212762, 0.00163783, 0.000750669, 0.00230171, 0.00217917
next prev parent reply other threads:[~2020-12-08 19:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-07 18:06 Eric Connor
2020-12-07 21:57 ` Gary Johnson
2020-12-08 3:25 ` Kevin Schnitzius
2020-12-08 13:07 ` Brian Inglis
2020-12-08 19:04 ` Eric Connor
2020-12-08 19:37 ` Brian Inglis [this message]
2020-12-08 20:41 ` Andrey Repin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8edaae7e-828c-433c-fc3d-50536c837f46@SystematicSw.ab.ca \
--to=brian.inglis@systematicsw.ab.ca \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).