Public bug reported:

reproducer:

printf 'a\nb\nc\n' > f
exec 3<f
tail -n 1 <&3 >/dev/null
IFS= read -r rest <&3
echo "remaining: [$rest]"


on uutils the output is
remaining: [a]

on gnu it is
remaining: []

This is likely related to
https://github.com/uutils/coreutils/issues/7028
https://github.com/uutils/coreutils/issues/3008
https://github.com/uutils/coreutils/issues/7666
all expressing similar in different commands

** Affects: rust-coreutils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2167889

Title:
  tail on shared seekable stdin: uutils main leaves the offset unmoved

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2167889/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to