Bug#1063837: coreutils: shred: documentation bug: 3>- should be 3>&-

2024-02-17 Thread Pádraig Brady
On 13/02/2024 12:21, Greg Wooledge wrote: Package: coreutils Version: 9.1-1 Severity: minor Tags: upstream The info page for shred includes this example code: i=$(mktemp) exec 3<>"$i" rm -- "$i" echo "Hello, world" >&3 shred - >&3 exec 3>- The last line is

Bug#1063837: coreutils: shred: documentation bug: 3>- should be 3>&-

2024-02-13 Thread Greg Wooledge
Package: coreutils Version: 9.1-1 Severity: minor Tags: upstream The info page for shred includes this example code: i=$(mktemp) exec 3<>"$i" rm -- "$i" echo "Hello, world" >&3 shred - >&3 exec 3>- The last line is incorrect. It should be "exec 3>&-" which closes