From owner-freebsd-questions@FreeBSD.ORG Wed Jul 27 03:04:05 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6878816A41F for ; Wed, 27 Jul 2005 03:04:05 +0000 (GMT) (envelope-from garys@opusnet.com) Received: from opusnet.com (mail.opusnet.com [209.210.200.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C8E243D48 for ; Wed, 27 Jul 2005 03:04:03 +0000 (GMT) (envelope-from garys@opusnet.com) Received: from localhost.localhost [70.98.246.232] by opusnet.com with ESMTP (SMTPD32-8.05) id A99F3D2E00EA; Tue, 26 Jul 2005 20:03:59 -0700 Received: from localhost.localhost (localhost.localhost [127.0.0.1]) by localhost.localhost (8.13.3/8.13.3) with ESMTP id j6R34lIG032814; Tue, 26 Jul 2005 20:04:47 -0700 (PDT) (envelope-from garys@opusnet.com) Received: (from jojo@localhost) by localhost.localhost (8.13.3/8.13.3/Submit) id j6R34flg032813; Tue, 26 Jul 2005 20:04:41 -0700 (PDT) (envelope-from garys@opusnet.com) To: Lane References: <20050726183029.M97284@neptune.atopia.net> <200507262019.25060.lane@joeandlane.com> From: garys@opusnet.com (Gary W. Swearingen) Date: Tue, 26 Jul 2005 20:04:41 -0700 In-Reply-To: <200507262019.25060.lane@joeandlane.com> (lane@joeandlane.com's message of "Tue, 26 Jul 2005 20:19:24 -0500") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: cat /dev/urandom X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jul 2005 03:04:05 -0000 Lane writes: > I think the backticks (and shell variables) actually send the output to a > pipe, not the screen. I don't know why you said either part of that. I didn't imply the latter and AFAIK the former is untrue (unless you ask the shell to send their output to a pipe); they "send" their command output (or variable value) to the shell as it does command and variable subsitution on your shell command line. Read "Command Substitution" in the "sh" manpage. I suppose there might be pipes involved in the shell innerds, but it's not useful to think about them. The output of the backticks, etc., becomes a part of the post-subsitution command input to the shell. The shell might or might not then send some of it to the screen, or run a command that outputs to the screen, depending upon what the command is.