From owner-freebsd-questions@FreeBSD.ORG Sat Aug 27 13:25:44 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 A3CC816A41F for ; Sat, 27 Aug 2005 13:25:44 +0000 (GMT) (envelope-from Emanuel.strobl@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id CC0F943D49 for ; Sat, 27 Aug 2005 13:25:43 +0000 (GMT) (envelope-from Emanuel.strobl@gmx.net) Received: (qmail invoked by alias); 27 Aug 2005 13:25:42 -0000 Received: from flb.schmalzbauer.de (EHLO cale.flintsbach.schmalzbauer.de) [62.245.232.135] by mail.gmx.net (mp026) with SMTP; 27 Aug 2005 15:25:42 +0200 X-Authenticated: #301138 From: Emanuel Strobl To: freebsd-questions@freebsd.org Date: Sat, 27 Aug 2005 15:25:27 +0200 User-Agent: KMail/1.8.1 X-Birthday: Oct. 6th 1972 X-CelPhone: +49 (0) 173 9967781 X-Tel: +49 (0) 89 18947781 X-Country: Germany X-Address: Munich, 80686 X-OS: FreeBSD MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1245363.23vvF32nzt"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200508271525.37192@harrymail> X-Y-GMX-Trusted: 0 Subject: shell usage (syntax) question 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: Sat, 27 Aug 2005 13:25:44 -0000 --nextPart1245363.23vvF32nzt Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, how can I delimit a program parameter from a shell instruction? Example: I want to tell the shell that stderr should be redirected to=20 file /tmp/test, not cpio to use /file/test: # /usr/bin/cpio -idmuv < /dev/ad0h 2> /tmp/test This doesn't work, I guess cpio grabs the ">". How can I write it that the= =20 shell sees the ">"? (sh, but also interesting for csh) Thanks in advance! =2DHarry --nextPart1245363.23vvF32nzt Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBDEGnRBylq0S4AzzwRAiW+AJ92ZkCteCZhqZayka9TCbWOmghtYQCgklNc fOM8BMpOY8+uL5f6SggfQVI= =ugTp -----END PGP SIGNATURE----- --nextPart1245363.23vvF32nzt--