[pisa] Re: portable shell scripts

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa@xxxxxxxxxxxxx
  • Date: Wed, 07 Oct 2009 20:32:38 +0200

On Mon, Sep 07, 2009 at 12:42:37PM +0200, Diego Biurrun wrote:
> 
> * [...]

* "command >& file" vs. "command > file 2>&1"

  The latter is the proper POSIX-compatible way to redirect both
  stdout and stderr to a file, the former is a bashism.

Diego

Other related posts: