Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions qa/1473
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ _notrun "current time - $now_hr:$now_min - is too close to midnight"

_filter()
{
if fmt -g 76 -w 76 </dev/null >/dev/null 2>&1
if fmt -w 64 </dev/null >/dev/null 2>&1
then
# GNU fmt(1) with -g
cmd='fmt -g 76 -w 76'
# GNU fmt(1) - fmt -g reflows the archive list differently (e.g.
# coreutils 9.x on Ubuntu 26.04) and breaks the golden file layout
cmd='fmt -w 64'
elif fmt 76 76 </dev/null >/dev/null 2>&1
then
# FreeBSD fmt(1) with goal [maximum]
Expand Down
7 changes: 4 additions & 3 deletions qa/338
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ _notrun "current time - $now_hr:$now_min - is too close to midnight"

_filter()
{
if fmt -g 76 -w 76 </dev/null >/dev/null 2>&1
if fmt -w 64 </dev/null >/dev/null 2>&1
then
# GNU fmt(1) with -g
cmd='fmt -g 76 -w 76'
# GNU fmt(1) - fmt -g reflows the archive list differently (e.g.
# coreutils 9.x on Ubuntu 26.04) and breaks the golden file layout
cmd='fmt -w 64'
elif fmt 76 76 </dev/null >/dev/null 2>&1
then
# FreeBSD fmt(1) with goal [maximum]
Expand Down
Loading