uutils / uutils/coreutils

paste: error on serial

Open
#7,103 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P - Windows U - paste
Dominant language
Rust
Stars
24.1k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
365

Description

Environment: Microsoft Windows [Version 10.0.19045.5247]
Installation: winget install uutils.coreutils
Installer Url: https://github.com/uutils/coreutils/releases/download/0.0.28/coreutils-0.0.28-x86_64-pc-windows-msvc.zip

Steps to reproduce:

seq 15 | coreutils paste -sd ","

What happens now: visible output shows

,15

but if i do seq 15 | coreutils paste -sd ","|clip the output become

1
,2
,3
,4
,5
,6
,7
,8
,9
,10
,11
,12
,13
,14
,15

What I expected to happen: it should appear as 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15

Note:

  • using coreutils seq 15 | coreutils paste -sd "," give me the correct output 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
  • I'm using seq --version : seq (GNU sh-utils) 1.13 it s not coreutils seq
  • i do this experiment since dir *.exe/b | coreutils paste -sd "," doesnt give proper output

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the exact Windows command from the issue, then compare it with the working coreutils seq pipeline. Trace the paste command's handling of input from the non-coreutils seq and dir commands, especially the resulting separators. Done means the reported command produces the expected comma-separated sequence without relying on coreutils seq.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.