mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
join: support headers
This commit is contained in:
parent
fc7b1fcaba
commit
7dc8ff62cc
6 changed files with 104 additions and 11 deletions
4
tests/fixtures/join/header.expected
vendored
Normal file
4
tests/fixtures/join/header.expected
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
id field count
|
||||
1 a abc 10
|
||||
2 b abc 25
|
||||
4 d 17 xyz
|
6
tests/fixtures/join/header_1.txt
vendored
Normal file
6
tests/fixtures/join/header_1.txt
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
id field
|
||||
1 a abc
|
||||
2 b abc
|
||||
3 c
|
||||
4 d
|
||||
5 c
|
5
tests/fixtures/join/header_2.txt
vendored
Normal file
5
tests/fixtures/join/header_2.txt
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
id count
|
||||
1 10
|
||||
2 25
|
||||
4 17 xyz
|
||||
7 18 xyz
|
4
tests/fixtures/join/header_autoformat.expected
vendored
Normal file
4
tests/fixtures/join/header_autoformat.expected
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
id field count
|
||||
1 a 10
|
||||
2 b 25
|
||||
4 d 17
|
Loading…
Add table
Add a link
Reference in a new issue