On Mon, Aug 13, 2012 at 5:36 PM, Kurt Buff <[email protected]> wrote:
> For instance, I can
> never remember the syntax for redirecting stderr and stdout at the
> command line, and have that page bookmarked (it's on page 55: C:\>dir
> c:\temp\out.txt 2>&1)

  OT, but if you think that's hard to remember, you should see some of
the constructs the Unix Bourne shell enables, given that you can open,
close, and dupe arbitrary file descriptors.  For example:

        foo 3>&1 1>&2 2>&3 3>&-

... runs "foo" with stdout and stderr flipped.  And yes, I have to
look that up!  :-)

-- Ben

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

Reply via email to