Subject: Re: Unixism, pipes and pkgsrc
To: None <netbsd-users@netbsd.org>
From: Jan Danielsson <jan.m.danielsson@gmail.com>
List: netbsd-users
Date: 08/21/2007 23:14:33
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

dieter roelants wrote:
>>    Could someone explain why the shell redirections don't work? Also
>> could someone explain how I can get all the build error messages to a
>> log file?
> 
> The order of the redirections matters. For example:
> 
> simult:p3:~$ rm / >/dev/null 2>&1 
> simult:p3:~$ rm / 2>&1 >/dev/null 
> rm: /: is a directory
> simult:p3:~$

   Yes, I knew about that, so that's not an issue.

   I'm am truly confused. :-/

- --
Kind regards,
Jan Danielsson

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)

iD8DBQFGy1W5uPlHKFfKXTYRCmAnAJ9648sD2O4qS/aX/1NR+fs0i6k6AACfbWBq
iCvSsa+FZPhnhiH7pyiXoO0=
=RgGz
-----END PGP SIGNATURE-----