[DragonFlyBSD - Submit #2933] (In Progress) Remove unix domain socket support from cat(1)
liweitianux
bugtracker-admin at leaf.dragonflybsd.org
Wed Oct 21 06:11:49 PDT 2026
Issue #2933 has been updated by liweitianux.
Status changed from New to In Progress
Interesting. This feature was added by Matthew Dillon in 2001: https://github.com/freebsd/freebsd-src/commit/cbf2d71f0ddb580fec7f1038a4f10ccbccb987d2. That was before @nc(1)@ was ported from OpenBSD in 2005, so I think it's okay to remove this @cat(1)@ feature in favor of @nc(1)@ :)
----------------------------------------
Submit #2933: Remove unix domain socket support from cat(1)
http://bugs.dragonflybsd.org/issues/2933#change-14887
* Author: sevan
* Status: In Progress
* Priority: Normal
* Category: Userland
* Target version: 6.4
* Start date: 2016-08-01
----------------------------------------
Introduced in FreeBSD[1] and inherited in DragonFly BSD, cat(1) has the ability to utilise a unix domain socket but the usecase is somewhat limited & better served by other tools eg netcat. Attached diff removes the functionality & restores previous behaviour. This feature is exclusive to FreeBSD & DragonFly BSD and has not been adopted by the other BSDs.
[1] https://svnweb.freebsd.org/base/head/bin/cat/cat.c?r1=78732&r2=83482&view=patch
---Files--------------------------------
patch-dfbsd-cat-nosocket.txt (4.32 KB)
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Submit
mailing list