#!/bin/sh sockpath="/tmp/forkcopy-socket_$(id -nu)" for i in "$@"; do socat unix:"$sockpath" - <