On Mon, Aug 13, 2012 at 2:49 PM, Ben Scott <[email protected]> wrote:
> 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!  :-)

I've not run into the need to do that, and I think I'm grateful...

Besides, the default shell in FreeBSD is (t)csh, and it's what I stick
with - don't even know if you can do that in tcsh.

Kurt

~ 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