Date: Sat, 27 Aug 2005 13:19:04 -0700 From: Glenn Dawson <glenn@antimatter.net> To: Emanuel Strobl <Emanuel.strobl@gmx.net>, freebsd-questions@freebsd.org Subject: Re: shell usage (syntax) question Message-ID: <6.2.3.4.2.20050827131701.05aca170@cobalt.antimatter.net> In-Reply-To: <200508271525.37192@harrymail> References: <200508271525.37192@harrymail>
next in thread | previous in thread | raw e-mail | index | archive | help
At 06:25 AM 8/27/2005, Emanuel Strobl wrote: >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 >file /tmp/test, not cpio to use /file/test: > ># /usr/bin/cpio -idmuv < /dev/ad0h 2> /tmp/test In sh try: /usr/bin/cpio -idmuv 2> /etc/test < /dev/ad0h -Glenn >This doesn't work, I guess cpio grabs the ">". How can I write it that the >shell sees the ">"? (sh, but also interesting for csh) > >Thanks in advance! > >-Harry >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.2.3.4.2.20050827131701.05aca170>