[prev in list] [next in list] [prev in thread] [next in thread]
List: ast-users
Subject: [ast-users] Redirecting stderr when using >;
From: Nathan Weeks <weeks () iastate ! edu>
Date: 2013-08-28 19:24:02
Message-ID: CAHSgV3FRYZ+HeTGrrA_YmLTwjaAq8e-9x+9kG+xb15od-6f7eA () mail ! gmail ! com
[Download RAW message or body]
I've encountered an issue where ">; outfile 2> errfile" doesn't work, but
"2> errfile >; outfile" does:
========================================
$ echo ${.sh.version}
Version AJM 93u+ 2012-08-01
$ ls
$ echo foo >; bar 2> baz
-ksh93: baz: cannot create [File exists]
$ ls
$ echo foo 2> baz >; bar
$ ls
bar baz
$ cat bar
foo
========================================
--
Nathan Weeks
IT Specialist
USDA-ARS Corn Insects and Crop Genetics Research Unit
http://weeks.public.iastate.edu/
_______________________________________________
ast-users mailing list
ast-users@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic