-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
rhel-8.0.0
-
None
-
None
-
Moderate
-
rhel-sst-cs-plumbers
-
ssg_core_services
-
3
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
-
x86_64
-
None
What were you trying to do that didn't work?
Attempting to use col -b to parse cat output on file with unicode SOH symbol at end of line EDIT: (and no new-line or line-feed character present either) produces no output with RHEL 8 util-linux versions.
Please provide the package NVR for which bug is seen:
All util-linux package versions available from standard repository including the latest in beta.
This does not occur on RHEL7, RHEL 9, and upstream versions of util-linux
How reproducible:
Execute cat command piping to col -b
Example: # col -b < /<filename>
Steps to reproduce
1. Using the file attached, execute the below command on RHEL 8 system.
# col -b < /tmp/test.dat
-
- you can also recreate this operation by having a file with only 1 line of text, and no line feed at the end.
EXAMPLE hexdump output of test file
]# hexdump /tmp/test2.dat
0000000 3532
0000002
- you can also recreate this operation by having a file with only 1 line of text, and no line feed at the end.
Expected results
The output show display as shown below:
=======
RHEL 7:
=======
[root@R7]# cat J_B002_BOND_LOAD_DATE-test.dat | col -b
20210415
[root@R7]# rpm -qa util-linux
util-linux-2.23.2-65.el7_9.1.x86_64
=======
RHEL 9:
=======
[root@R9][root@R9]# cat J_B002_BOND_LOAD_DATE-test.dat | col -b
20210415
[root@R9]# rpm -qa util-linux
util-linux-2.37.4-11.el9_2.x86_64
Actual results
[root@R8]# cat J_B002_BOND_LOAD_DATE-test.dat | col -b
<no output>