use at least 2 spaces as separator in the tabular outputs #5844
Closed
goyalyashpal
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
follow upstream issue request at: |
Beta Was this translation helpful? Give feedback.
2 replies
-
for the time being, as insisted here to use powershell output/to cmdlets, so, the command becomes: $ echo "scoop status | convertto-csv" | powershell -C - | ...
$ # Or, if the person knows powershell
$ # but want to stay in, say bash (for consolidated history, or whatever reason), then:
$ echo "scoop status | ..." | powershell -C - where
note though:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
hi!
description
does powershell allows to increase the space separation in different columns to at least 2?
'cz the current single space separated columns:
scoop status
)nu
shell,awk
etc.prelude
$ scoop status | tail -n+2 > sst.txt
sst.txt
:testing commands
equivalent to:
nu -c "scoop status | ..."
orscoop status | nu --stdin -c "..."
actual behaviour
expected behaviour
the output is easy to parse.
awk -F ' +'
i.e.awk -F ' {2,}'
ornu -c 'from ssv # -am 2'
with 2 col-separator spaces:
environment
for the
sed -n
expressions here, refer: baeldung's split-file#using-sedBeta Was this translation helpful? Give feedback.
All reactions