Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress columns with empty -Header name #9

Closed
iRon7 opened this issue Oct 30, 2024 · 1 comment
Closed

Suppress columns with empty -Header name #9

iRon7 opened this issue Oct 30, 2024 · 1 comment

Comments

@iRon7
Copy link
Owner

iRon7 commented Oct 30, 2024

If a header name in a header array is an empty string, skip the concerned column

iRon7 added a commit that referenced this issue Oct 30, 2024
@iRon7 iRon7 changed the title Remove "empty header" columns Suppress columns with empty -Header name Oct 30, 2024
iRon7 added a commit that referenced this issue Oct 30, 2024
iRon7 added a commit that referenced this issue Oct 30, 2024
iRon7 added a commit that referenced this issue Oct 30, 2024
iRon7 added a commit that referenced this issue Oct 30, 2024
iRon7 added a commit that referenced this issue Oct 30, 2024
@iRon7
Copy link
Owner Author

iRon7 commented Nov 1, 2024

Implemented:

ConvertFrom-SourceTable -Header '', Date, '', '', '', 'File' -InputObject @'
                d----l       11/16/2018   8:30 PM                Archive
                -a---l        5/22/2018  12:05 PM          (726) Build-Expression.ps1
                -a---l       11/16/2018   7:38 PM           2143 CHANGELOG
                -a---l       11/17/2018  10:42 AM          14728 ConvertFrom-SourceTable.ps1
                -a---l       11/17/2018  11:04 AM          23909 ConvertFrom-SourceTable.Tests.ps1
                -a---l         8/4/2018  11:04 AM         (6237) Import-SourceTable.ps1
'@
Date       File
----       ----
5/22/2018  Build-Expression.ps1
11/16/2018 CHANGELOG
11/17/2018 ConvertFrom-SourceTable.ps1
11/17/2018 ConvertFrom-SourceTable.Tests.ps1
8/4/2018   Import-SourceTable.ps1

@iRon7 iRon7 closed this as completed Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant