NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/57483: tail -fn +20 and -fc +20 broken by legacy format



>Number:         57483
>Category:       bin
>Synopsis:       tail -fn +20 and -fc +20 broken by legacy format
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 23 14:20:00 +0000 2023
>Originator:     TODO
>Release:        NetBSD 9.2
>Environment:
System: NetBSD netbsd-dev 9.2 NetBSD 9.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
Regardless of the inputs, tail -fc +20 and tail -fn +20 error
instantly with
  tail: illegal offset -- -n+20

This could have something to do with the undocumented "tail +20"
and "tail -20" legacy usages, but this breaks normal standard usage,
but tail -c +20 and tail -n +20 do work, so idk.

Best,

--4dvz3evztwxlh7rz
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEfWlHToQCjFzAxEFjvP0LAY0mWPEFAmSVqVQACgkQvP0LAY0m
WPFjBA/+Meb0JKT1aDpQ1XwU/GIXqDpAF48vTFtuiqHIvHlDAR96HlN3wSow46GL
l7uJe0s2UQhZwFhQ+wiV3mzaRvTeRbFsSeDWcHq0ScHzyF+DTq8X2KTPb3AwVoI3
cg9z8dW74UfqvsCSiEP+uxpeSwPcUza+5NltL3LIVH/ZzXaJkPE7j0s8xrSddGZZ
CDgWZsaEGKJcxJu+Eh8XajZOAuYE3/31ltMUxuWdm87Q76+Q3n9dYlg0UYDBfSPC
oILSjVistFGlMhLmYUnGNOWZc6BI3r1ENQFt/uDvGcvdFtBd+WaZQVBFWR5a5Cp/
cmdUGm8Z3CwkZJf8483sXO2mTaWyOYKe8dijR2kiJJwn0+cchGVKgBaexaa5jTG1
zWI+5B6VeaIPEsF2HzJrU/lxZZ/YFD/nwblFrIXHyP3TgfInz0takZhe4K9MropC
RMHl9m5XWp/oehzJbvF3jp4vl5yRBRhH9CFC1Y9MzxE7iA3sHMI5cwUQzpozuccw
nR89Ry8LgqHG0ZJ4FB9yWh41l+Tdu6Kw4hc88n1f0Kyn1py5Ey+jRt26wzTDEbLI
jl6ykzji74dgMUwv34CyTNv27LBQ0AtDnPygAIyISeWm9g3cgUJNdSs+RMxzuMP6
EndMbqhejuZO8E7Qzqid5NmVrdFRTPrtGDsdCNV8GUnoFR7OPrM=
=pKYs
-----END PGP SIGNATURE-----

--4dvz3evztwxlh7rz--

>Fix:

Unknown
>Unformatted:
 --4dvz3evztwxlh7rz
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 


Home | Main Index | Thread Index | Old Index