Newer
Older
UbixOS / bin / sh / tests / execution / bg8.0
@Charlie Root Charlie Root on 16 Jan 2018 288 bytes BSD Shell
# $FreeBSD: releng/11.1/bin/sh/tests/execution/bg8.0 258533 2013-11-24 22:45:49Z jilles $
# The redirection does not apply to the background command, and therefore
# does not override the implicit </dev/null.

echo bad | ${SH} -c 'command eval \) </dev/null 2>/dev/null; { cat & wait; }'