Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add column.exe to the installed files
column.exe is included for the benefit of https://github.com/tj/git-extras which uses column.exe in git line-summary, git summary and git ignore-io. It's a 25kb file with no additional dependencies (msys-intl-8.dll, msys-iconv-2.dll and msys-2.0.dll are all included already). From the util-linux package... Closes: git-for-windows/git#586 Signed-off-by: Jan Schulz <[email protected]>
- Loading branch information
2fc568a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JanSchulz, could you be so kind to compile
column.exe
which would work standalone without dependencies? I was lucky to find sed, sort and a few other gems, but this one is yet to be found.2fc568a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sergeevabc please note that you are asking for quite a lot:
column.exe
is compiled as part of theutil-linux
package. It implicitly requires the POSIX emulation provided by the MSYS2 runtime, it also requires libintl and libiconv. It would take a substantial effort to rewrite the code so that it does not need those dependencies. It would be easier to rewritecolumn.exe
's source code from scratch. Which is another big task, so it is probably not a wise idea to burden others with that feature request.2fc568a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dscho, being not a developer, but a mere Windows user in pursuit of keeping records in order, I’m not that aware of the complexity of implementation. Size of the original
column
and the existence of other standalone ports made me think there was no harm in asking. In case another wandering soul stumbles upon this conversation, let me reassure there is a way to align data, although semi-automatic, by means of Gawk.2fc568a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sergeevabc if you are not a developer, I wonder why you are commenting directly on a commit, where there is little chance of anybody seeing your comment except the patch author and the maintainer.
Also, your comment about gawk seems to forget about the main intention of using
column.exe
: to figure out the column widths automatically.In any case, I laid out why your request is leaning a bit heavily on potential helpers, so I still think that the most reasonable course of action would be to learn enough code to scratch your own itch.