shell usage (syntax) question

Glenn Dawson glenn at
Sat Aug 27 20:19:04 GMT 2005

At 06:25 AM 8/27/2005, Emanuel Strobl wrote:
>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


>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!

More information about the freebsd-questions mailing list